From 82c340a0cdc4721a797ce19fdde8a162d316c7cb Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 24 Sep 2019 11:00:14 +0200 Subject: [PATCH] Report errors --- app/src/main/java/eu/faircode/email/Log.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/Log.java b/app/src/main/java/eu/faircode/email/Log.java index dfd4f994d0..303ab42c94 100644 --- a/app/src/main/java/eu/faircode/email/Log.java +++ b/app/src/main/java/eu/faircode/email/Log.java @@ -105,6 +105,8 @@ public class Log { } public static int e(String msg) { + if (BuildConfig.BETA_RELEASE) + Bugsnag.notify(new Throwable(msg), Severity.ERROR); return android.util.Log.e(TAG, msg); }