mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
remove mail sends for crash reports
This commit is contained in:
parent
1b2abbe321
commit
573ff15925
2 changed files with 5 additions and 5 deletions
|
@ -49,8 +49,8 @@ namespace Bit.Android
|
|||
private void AndroidEnvironment_UnhandledExceptionRaiser(object sender, RaiseThrowableEventArgs e)
|
||||
{
|
||||
var message = AppendExceptionToMessage("", e.Exception);
|
||||
Utilities.SaveCrashFile(message, true);
|
||||
//Utilities.SendCrashEmail(message, false);
|
||||
//Utilities.SaveCrashFile(message, true);
|
||||
Utilities.SendCrashEmail(message, false);
|
||||
}
|
||||
|
||||
private string AppendExceptionToMessage(string message, Exception ex)
|
||||
|
|
|
@ -97,7 +97,7 @@ namespace Bit.Android.Services
|
|||
Console.WriteLine("Failed to decrypt from secure storage.");
|
||||
_settings.Remove(formattedKey);
|
||||
//Utilities.SendCrashEmail(e);
|
||||
Utilities.SaveCrashFile(e);
|
||||
//Utilities.SaveCrashFile(e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
@ -127,7 +127,7 @@ namespace Bit.Android.Services
|
|||
{
|
||||
Console.WriteLine("Failed to encrypt to secure storage.");
|
||||
//Utilities.SendCrashEmail(e);
|
||||
Utilities.SaveCrashFile(e);
|
||||
//Utilities.SaveCrashFile(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -235,7 +235,7 @@ namespace Bit.Android.Services
|
|||
if(!v1)
|
||||
{
|
||||
//Utilities.SendCrashEmail(e);
|
||||
Utilities.SaveCrashFile(e);
|
||||
//Utilities.SaveCrashFile(e);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue