remove mail sends for crash reports

This commit is contained in:
Kyle Spearrin 2017-06-22 21:54:57 -04:00
parent 1b2abbe321
commit 573ff15925
2 changed files with 5 additions and 5 deletions

View file

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

View file

@ -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;
}