void automaticUpdater_CheckingFailed(object sender, FailArgs e) { LogHelper.Trace("automaticUpdater_CheckingFailed"); UpdateIsAvailable = false; if (UpdateNotAvailable != null) { UpdateNotAvailable(this, EventArgs.Empty); } }
static void auBackend_UpdateFailed(object sender, FailArgs e) { //TODO: Notify the admin, or however you want to handle the failure WriteToLog("Update failed. Reason\r\nTitle: " + e.ErrorTitle + "\r\nMessage: " + e.ErrorMessage, true); }
// Token: 0x06000128 RID: 296 RVA: 0x000037D9 File Offset: 0x000019D9 private static void smethod_1(object object_0, FailArgs failArgs_0) { GForm1.webView_0.QueueScriptCall(string.Format(Class185.smethod_0(537708574), failArgs_0.ErrorTitle.smethod_4(), failArgs_0.ErrorMessage.smethod_4())); }
void automaticUpdater_DownloadingFailed(object sender, FailArgs e) { LogHelper.Trace("automaticUpdater_DownloadingFailed"); }
// Token: 0x06000128 RID: 296 RVA: 0x00003780 File Offset: 0x00001980 private static void smethod_1(object object_0, FailArgs failArgs_0) { MainWindow.webView_0.QueueScriptCall(string.Format("swal('{0}', '{1}', 'error')", failArgs_0.ErrorTitle.smethod_4(), failArgs_0.ErrorMessage.smethod_4())); }
void OnExtractingFailed(object sender, FailArgs e) { Console.WriteLine("extract fail"); UpdateExtractErrorBox(); }
void OnDownloadingFailed(object sender, FailArgs e) { Console.WriteLine("download fail"); UpdateDownloadErrorBox(); }
private void Updater_CheckingFailed(object sender, FailArgs e) { Console.WriteLine("*****I FAILED******* " + e.ErrorMessage); // since we kept on getting an error message we added e.ErrorMessage to find out why UpdateCheckErrorBox(); }
void OnFailed(object sender, FailArgs e) //OnUpdateFailed { Console.WriteLine("fail"); UpdateErrorBox(); }