This commit is contained in:
slothdpal
2024-05-29 22:34:49 +03:00
parent dd56aaab9e
commit e8fda6ba2b

View File

@@ -347,8 +347,9 @@ namespace Process_Auto_Relaunch
} }
else if (e.Error != null) else if (e.Error != null)
{ {
Status("Произошла ошибка! Наблюдение остановлено. Error: " + e.Error.Message + " Stack trace: " + e.Error.StackTrace, NotifyLevel.logUpdateStatus | NotifyLevel.logDiscord | NotifyLevel.logHistory); string error_message = "Error: " + e.Error.Message + "\n" + e.Error.StackTrace;
MessageBox.Show("Error: " + e.Error.Message + "/n" + e.Error.StackTrace, "Ошибка наблюдения", MessageBoxButtons.OK, MessageBoxIcon.Stop); Status("Произошла ошибка! Наблюдение остановлено.\n" + error_message, NotifyLevel.logUpdateStatus | NotifyLevel.logDiscord);
MessageBox.Show(error_message, "Ошибка наблюдения", MessageBoxButtons.OK, MessageBoxIcon.Stop);
radioButtonDisableWathing.Checked = true; radioButtonDisableWathing.Checked = true;
} }
else else