mirror of
https://github.com/minio/minio.git
synced 2025-02-09 04:38:09 -05:00
Errors in notification config should not crash the server (#6881)
Fixes #6870
This commit is contained in:
parent
61145361fd
commit
4e6d3c093f
@ -381,7 +381,7 @@ func serverMain(ctx *cli.Context) {
|
|||||||
|
|
||||||
// Initialize notification system.
|
// Initialize notification system.
|
||||||
if err = globalNotificationSys.Init(newObject); err != nil {
|
if err = globalNotificationSys.Init(newObject); err != nil {
|
||||||
logger.Fatal(err, "Unable to initialize notification system")
|
logger.LogIf(context.Background(), err)
|
||||||
}
|
}
|
||||||
|
|
||||||
globalObjLayerMutex.Lock()
|
globalObjLayerMutex.Lock()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user