mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-07 09:20:04 +01:00
log and throw accessibility exceptions
This commit is contained in:
parent
e625450100
commit
a6b172c445
@ -230,7 +230,21 @@ namespace Bit.Android
|
||||
e.Dispose();
|
||||
}
|
||||
// Suppress exceptions so that service doesn't crash
|
||||
catch { }
|
||||
catch(Exception ex)
|
||||
{
|
||||
LogError(ex.Message);
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
||||
private void LogInfo(string msg)
|
||||
{
|
||||
global::Android.Util.Log.Info("bw_access", msg);
|
||||
}
|
||||
|
||||
private void LogError(string msg)
|
||||
{
|
||||
global::Android.Util.Log.Error("bw_access", msg);
|
||||
}
|
||||
|
||||
public override void OnInterrupt()
|
||||
|
Loading…
Reference in New Issue
Block a user