Daemon panics on start if no mongo credentials are supplied.
erikstmartin opened this issue · 0 comments
erikstmartin commented
Mongo logging should be optional as much as possible and this should be recovered and a sane error returned. If it doesn't have mongo credentials it shouldn't even try to connect or log, this is causing nil pointer issues
Best option is to log an error at the beginning when it notices no mongo credentials, or on initial connection, then to disable that logger altogether, making it a no-op to log to it, the temporary fix will flood the logs with unnecessary additional logs