diff options
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | src/zenserver/sentryintegration.cpp | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b2d93166..7f3a212ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ ## +- Bugfix: Block sending error reports from sentry_sink to Sentry unless the log is actually an error log + +## 0.2.29 - Feature: Add `skipdelete` parameter to `admin/gc` endpoint to do a dry run of GC - Feature: Add `--skipdelete` option to `zen gc` command to do a dry run of GC - Feature: New endpoint `/admin/flush ` to flush all storage - CAS, Cache and ProjectStore diff --git a/src/zenserver/sentryintegration.cpp b/src/zenserver/sentryintegration.cpp index 2c51c3b36..10a05c3c8 100644 --- a/src/zenserver/sentryintegration.cpp +++ b/src/zenserver/sentryintegration.cpp @@ -67,6 +67,10 @@ sentry_sink::~sentry_sink() void sentry_sink::sink_it_(const spdlog::details::log_msg& msg) { + if (msg.level != spdlog::level::err && msg.level != spdlog::level::critical) + { + return; + } try { std::string Message = fmt::format("{}\n{}({}) [{}]", msg.payload, msg.source.filename, msg.source.line, msg.source.funcname); |