Skip to content

Commit

Permalink
Updated to version 6.1.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
Proektsoftbg committed Oct 6, 2023
1 parent 6c7d75b commit 2c89fa5
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 94 deletions.
4 changes: 2 additions & 2 deletions Calcpad.Wpf/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private void AppDomain_UnhandledException(object sender, UnhandledExceptionEvent
{
main.SaveStateAndRestart();
}
catch (Exception ex2)
catch
{
#if BG
message += "\r\n\r\nИма незаписани данни. Възстановяването беше неуспешно. Ако проблемът продължи, моля пишете на [email protected].";
Expand All @@ -52,7 +52,7 @@ private void AppDomain_UnhandledException(object sender, UnhandledExceptionEvent
#if BG
message += $"\r\n\r\nИнформация за грешката:\r\n\r\n\"{ex.ToString()}\"";
#else
message += $"\r\n\r\nException details:\r\n\r\n\"{ex.ToString()}\"";
message += $"\r\n\r\nException details:\r\n\r\n\"{ex}\"";
#endif
File.WriteAllText(logFileName, message);
Process.Start(new ProcessStartInfo
Expand Down
Loading

0 comments on commit 2c89fa5

Please sign in to comment.