mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 23:00:51 +00:00
log request exceptions
This commit is contained in:
parent
8b5d3d0170
commit
86ecacffcb
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ namespace Jackett
|
|||
var json = new JObject();
|
||||
var exception = actionExecutedContext.Exception;
|
||||
|
||||
Engine.Logger.Error(exception);
|
||||
|
||||
var message = exception.Message;
|
||||
if (exception.InnerException != null)
|
||||
message += ": " + exception.InnerException.Message;
|
||||
|
|
Loading…
Reference in a new issue