mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 05:16:34 +02:00
Progress messages are logged with Logger.Progress
This commit is contained in:
@@ -56,7 +56,12 @@ namespace NzbDrone.Core.ProgressMessaging
|
||||
return;
|
||||
}
|
||||
|
||||
var status = logEvent.Properties.ContainsKey("Status") ? (ProcessState)logEvent.Properties["Status"] : ProcessState.Running;
|
||||
if (!logEvent.Properties.ContainsKey("Status"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var status = (ProcessState)logEvent.Properties["Status"];
|
||||
|
||||
var message = new ProgressMessage();
|
||||
message.Time = logEvent.TimeStamp;
|
||||
|
Reference in New Issue
Block a user