kopia lustrzana https://github.com/bertrik/ttnhabbridge
Fix logging of unhandled exceptions.
rodzic
4f9984dd27
commit
f0341688ce
|
@ -125,7 +125,7 @@ public final class TtnHabBridge {
|
|||
LOG.warn("Payload decoding exception: {}", e.getMessage());
|
||||
} catch (Exception e) {
|
||||
LOG.trace("Caught unhandled exception", e);
|
||||
LOG.error("Caught unhandled exception", e.getMessage());
|
||||
LOG.error("Caught unhandled exception:" + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -142,7 +142,7 @@ public final class HabitatUploader {
|
|||
LOG.warn("Caught exception: {}", e.getMessage());
|
||||
} catch (Exception e) {
|
||||
LOG.trace("Caught unhandled exception", e);
|
||||
LOG.error("Caught unhandled exception", e.getMessage());
|
||||
LOG.error("Caught unhandled exception: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue