Commit 74cb2971 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

disable automatic sentry'ing when run in testing mode

parent 64aba536
Pipeline #206484 passed with stage
in 1 minute and 39 seconds
......@@ -59,7 +59,7 @@ ReportInterface::ReportInterface(QObject *parent)
m_sentryUserFeedbackSent = true;
maybeDone();
});
if (KUserFeedback::Provider provider; provider.isEnabled()) {
if (KUserFeedback::Provider provider; provider.isEnabled() && !DrKonqi::isTestingBugzilla()) {
metaObject()->invokeMethod(this, [this] {
// Send crash event ASAP, if applicable. Trace quality doesn't matter for it.
sendCrashEvent();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment