Fixing sub logging and moving stack trace to debug. (#4334)

* Fixing sub logging and moving stack trace to debug.

Signed-off-by: Matt Nelson <matt.nelson@consensys.net>
Co-authored-by: Matt Nelson <matt.nelson@Matts-MacBook-Pro.local>
This commit is contained in:
Matt Nelson
2022-08-31 16:32:35 -04:00
committed by GitHub
parent fd666dfd61
commit 86c308096b

View File

@@ -112,7 +112,8 @@ public class Subscribers<T> {
action.accept(subscriber);
} catch (final Exception e) {
if (suppressCallbackExceptions) {
LOG.error("Error in callback: ", e);
LOG.error("Error in callback: {}", e.getMessage());
LOG.debug("Error in callback: ", e);
} else {
throw e;
}