mirror of https://github.com/Jackett/Jackett
include stacktrace in error
This commit is contained in:
parent
1d0790471f
commit
73d590cebd
|
@ -43,6 +43,7 @@ namespace Jackett
|
|||
|
||||
json["result"] = "error";
|
||||
json["error"] = msg;
|
||||
json["stacktrace"] = exception.StackTrace;
|
||||
|
||||
var response = actionExecutedContext.Request.CreateResponse();
|
||||
response.Content = new JsonContent(json);
|
||||
|
|
Loading…
Reference in New Issue