You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are multiple places where errors have context added at multiple layers that are obsolete. We should review the current logging and clean up any messages where this is the case. An example would be: mongodb.go func: NewMongoDB() - the underlying mgo will raise a detailed error to do with the connection, this function then adds the context "can't connect to mongo, go error..." then the callers of this function add additional context such as "failed initialising mongo connection", resulting in the error message:
failed initialising mongo connection: can't connect to mongo, go error: host unreachable which could be simplified to Kubernetes provider failed to initialise a connection to MongoDB: host unreachable
There are multiple occurrences such as this throughout the code base.
The text was updated successfully, but these errors were encountered:
There are multiple places where errors have context added at multiple layers that are obsolete. We should review the current logging and clean up any messages where this is the case. An example would be:
mongodb.go func: NewMongoDB()
- the underlyingmgo
will raise a detailed error to do with the connection, this function then adds the context "can't connect to mongo, go error..." then the callers of this function add additional context such as "failed initialising mongo connection", resulting in the error message:failed initialising mongo connection: can't connect to mongo, go error: host unreachable
which could be simplified toKubernetes provider failed to initialise a connection to MongoDB: host unreachable
There are multiple occurrences such as this throughout the code base.
The text was updated successfully, but these errors were encountered: