outbox for gateways
This commit is contained in:
@@ -42,13 +42,13 @@ func New(logger mlogger.Logger, conn *db.MongoConnection) (*Store, error) {
|
||||
defer cancel()
|
||||
|
||||
if err := result.Ping(ctx); err != nil {
|
||||
result.logger.Error("mongo ping failed during store init", zap.Error(err))
|
||||
result.logger.Error("Mongo ping failed during store init", zap.Error(err))
|
||||
return nil, err
|
||||
}
|
||||
|
||||
documentsStore, err := store.NewDocuments(result.logger, database)
|
||||
if err != nil {
|
||||
result.logger.Error("failed to initialise documents store", zap.Error(err))
|
||||
result.logger.Error("Failed to initialise documents store", zap.Error(err))
|
||||
return nil, err
|
||||
}
|
||||
result.documents = documentsStore
|
||||
|
||||
Reference in New Issue
Block a user