mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-27 10:00:53 +01:00
added recording logging
This commit is contained in:
@@ -541,13 +541,16 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
|
||||
}
|
||||
|
||||
recording.Status = RecordingStatus.Completed;
|
||||
_logger.Info("Recording completed");
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
{
|
||||
_logger.Info("Recording cancelled");
|
||||
recording.Status = RecordingStatus.Completed;
|
||||
}
|
||||
catch
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.ErrorException("Error recording", ex);
|
||||
recording.Status = RecordingStatus.Error;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user