mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +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)
|
private void AndroidEnvironment_UnhandledExceptionRaiser(object sender, RaiseThrowableEventArgs e)
|
||||||
{
|
{
|
||||||
var message = AppendExceptionToMessage("", e.Exception);
|
var message = AppendExceptionToMessage("", e.Exception);
|
||||||
Utilities.SaveCrashFile(message, true);
|
//Utilities.SaveCrashFile(message, true);
|
||||||
//Utilities.SendCrashEmail(message, false);
|
Utilities.SendCrashEmail(message, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private string AppendExceptionToMessage(string message, Exception ex)
|
private string AppendExceptionToMessage(string message, Exception ex)
|
||||||
|
|
|
@ -97,7 +97,7 @@ namespace Bit.Android.Services
|
||||||
Console.WriteLine("Failed to decrypt from secure storage.");
|
Console.WriteLine("Failed to decrypt from secure storage.");
|
||||||
_settings.Remove(formattedKey);
|
_settings.Remove(formattedKey);
|
||||||
//Utilities.SendCrashEmail(e);
|
//Utilities.SendCrashEmail(e);
|
||||||
Utilities.SaveCrashFile(e);
|
//Utilities.SaveCrashFile(e);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ namespace Bit.Android.Services
|
||||||
{
|
{
|
||||||
Console.WriteLine("Failed to encrypt to secure storage.");
|
Console.WriteLine("Failed to encrypt to secure storage.");
|
||||||
//Utilities.SendCrashEmail(e);
|
//Utilities.SendCrashEmail(e);
|
||||||
Utilities.SaveCrashFile(e);
|
//Utilities.SaveCrashFile(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -235,7 +235,7 @@ namespace Bit.Android.Services
|
||||||
if(!v1)
|
if(!v1)
|
||||||
{
|
{
|
||||||
//Utilities.SendCrashEmail(e);
|
//Utilities.SendCrashEmail(e);
|
||||||
Utilities.SaveCrashFile(e);
|
//Utilities.SaveCrashFile(e);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue