Report errors

This commit is contained in:
M66B 2019-09-24 11:00:14 +02:00
parent 0e7ab8a498
commit 82c340a0cd
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}