public void Handle(UpdateInstalledEvent message) { var updateMessage = new ApplicationUpdateMessage(); updateMessage.Message = $"Prowlarr updated from {message.PreviousVerison.ToString()} to {message.NewVersion.ToString()}"; updateMessage.PreviousVersion = message.PreviousVerison; updateMessage.NewVersion = message.NewVersion; foreach (var notification in _notificationFactory.OnApplicationUpdateEnabled()) { try { notification.OnApplicationUpdate(updateMessage); } catch (Exception ex) { _logger.Warn(ex, "Unable to send OnApplicationUpdate notification to: " + notification.Definition.Name); } } }