1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-10-06 05:17:59 +02:00

log and throw accessibility exceptions

This commit is contained in:
Kyle Spearrin 2018-02-08 16:33:52 -05:00
parent e625450100
commit a6b172c445

View File

@ -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()