diff --git a/zapcore/core.go b/zapcore/core.go index c8e59eb3d..5daf6fdf7 100644 --- a/zapcore/core.go +++ b/zapcore/core.go @@ -95,8 +95,9 @@ func (c *ioCore) Write(ent Entry, fields []Field) error { return err } if ent.Level > ErrorLevel { - // Since we may be crashing the program, sync the output. - return c.Sync() + // Since we may be crashing the program, sync the output. Ignore Sync + // errors, pending a clean solution to issue #370. + c.Sync() } return nil }