mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 20:47:59 -05:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user