Logging additions 2 (#55)

* Add overload to logger.error() for Throwable to print stack trace

* Replaced all e.printStackTrace() with logger.error()

* Log level dependent on dev or release
This commit is contained in:
Banks T
2020-07-24 12:06:54 -04:00
committed by GitHub
parent 22d7ccc74d
commit 77fd6a84c8
17 changed files with 74 additions and 57 deletions

View File

@@ -71,8 +71,7 @@ class UIOutboundSubscriber extends DataChangeSubscriber {
}
}
} catch (JsonProcessingException e) {
// TODO: Log
e.printStackTrace();
logger.error("Failed to process outgoing message!", e);
}
}
}