diff --git a/Lite/MainWindow.xaml.cs b/Lite/MainWindow.xaml.cs index 8c6e4ec..48490ba 100644 --- a/Lite/MainWindow.xaml.cs +++ b/Lite/MainWindow.xaml.cs @@ -1291,7 +1291,7 @@ await _emailAlertService.TrySendAlertEmailAsync( $"{App.AlertLongRunningJobMultiplier}x historical avg", summary.ServerId, jobContext, - numericCurrentValue: (double)worst.PercentOfAverage, + numericCurrentValue: (double)(worst.PercentOfAverage ?? 0), numericThresholdValue: App.AlertLongRunningJobMultiplier * 100); } }