1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-11 22:03:27 +00:00

save crash file to external storage instead

This commit is contained in:
Kyle Spearrin
2017-06-22 15:33:37 -04:00
parent 0c71f783fc
commit cf3998942f
3 changed files with 42 additions and 14 deletions

View File

@@ -96,7 +96,8 @@ namespace Bit.Android.Services
{
Console.WriteLine("Failed to decrypt from secure storage.");
_settings.Remove(formattedKey);
Utilities.SendCrashEmail(e);
//Utilities.SendCrashEmail(e);
Utilities.SaveCrashFile(e);
return null;
}
}
@@ -125,7 +126,8 @@ namespace Bit.Android.Services
catch(Exception e)
{
Console.WriteLine("Failed to encrypt to secure storage.");
Utilities.SendCrashEmail(e);
//Utilities.SendCrashEmail(e);
Utilities.SaveCrashFile(e);
}
}
@@ -232,7 +234,8 @@ namespace Bit.Android.Services
_settings.Remove(AesKey);
if(!v1)
{
Utilities.SendCrashEmail(e);
//Utilities.SendCrashEmail(e);
Utilities.SaveCrashFile(e);
}
return null;
}