mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
log and throw accessibility exceptions
This commit is contained in:
parent
e625450100
commit
a6b172c445
1 changed files with 15 additions and 1 deletions
|
@ -230,7 +230,21 @@ namespace Bit.Android
|
||||||
e.Dispose();
|
e.Dispose();
|
||||||
}
|
}
|
||||||
// Suppress exceptions so that service doesn't crash
|
// 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()
|
public override void OnInterrupt()
|
||||||
|
|
Loading…
Reference in a new issue