mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-12 11:15:43 +02:00
Avoid returning null in static resource mapper Task
This commit is contained in:
parent
0544011177
commit
a1ea7accb3
@ -50,7 +50,7 @@ public Task<IActionResult> GetResponse(string resourceUrl)
|
||||
|
||||
_logger.Warn("File {0} not found", filePath);
|
||||
|
||||
return null;
|
||||
return Task.FromResult<IActionResult>(null);
|
||||
}
|
||||
|
||||
protected virtual Stream GetContentStream(string filePath)
|
||||
|
Loading…
Reference in New Issue
Block a user