async void _installationManager_PackageInstallationFailed(object sender, InstallationFailedEventArgs e) { var installationInfo = e.InstallationInfo; var type = NotificationType.InstallationFailed.ToString(); var notification = new NotificationRequest { Level = NotificationLevel.Error, Description = e.Exception.Message, NotificationType = type }; notification.Variables["Name"] = installationInfo.Name; notification.Variables["Version"] = installationInfo.Version; await SendNotification(notification).ConfigureAwait(false); }
private async void OnPackageInstallationFailed(object sender, InstallationFailedEventArgs e) { var installationInfo = e.InstallationInfo; await CreateLogEntry(new ActivityLog( string.Format( CultureInfo.InvariantCulture, _localization.GetLocalizedString("NameInstallFailed"), installationInfo.Name), NotificationType.InstallationFailed.ToString(), Guid.Empty) { ShortOverview = string.Format( CultureInfo.InvariantCulture, _localization.GetLocalizedString("VersionNumber"), installationInfo.Version), Overview = e.Exception.Message }).ConfigureAwait(false); }
private async void OnPackageInstallationFailed(object sender, InstallationFailedEventArgs e) { await SendMessageToAdminSessions("PackageInstallationFailed", e.InstallationInfo).ConfigureAwait(false); }
void _installationManager_PackageInstallationFailed(object sender, InstallationFailedEventArgs e) { SendMessageToAdminSessions("PackageInstallationFailed", e.InstallationInfo); }
void _installationManager_PackageInstallationFailed(object sender, InstallationFailedEventArgs e) { _serverManager.SendWebSocketMessage("PackageInstallationFailed", e.InstallationInfo); }
void _installationManager_PackageInstallationFailed(object sender, InstallationFailedEventArgs e) { Dispatcher.InvokeAsync(UpdateInProgressInstallations); }
private void OnPackageInstallationFailed(object sender, InstallationFailedEventArgs e) { SendMessageToAdminSessions("PackageInstallationFailed", e.InstallationInfo); }