summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/sirupsen/logrus/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/sirupsen/logrus/README.md')
-rw-r--r--vendor/github.com/sirupsen/logrus/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/sirupsen/logrus/README.md b/vendor/github.com/sirupsen/logrus/README.md
index 5796706d..5152b6aa 100644
--- a/vendor/github.com/sirupsen/logrus/README.md
+++ b/vendor/github.com/sirupsen/logrus/README.md
@@ -402,7 +402,7 @@ func (f *MyJSONFormatter) Format(entry *Entry) ([]byte, error) {
// source of the official loggers.
serialized, err := json.Marshal(entry.Data)
if err != nil {
- return nil, fmt.Errorf("Failed to marshal fields to JSON, %v", err)
+ return nil, fmt.Errorf("Failed to marshal fields to JSON, %w", err)
}
return append(serialized, '\n'), nil
}