include stacktrace in error

This commit is contained in:
kaso17 2017-08-24 12:02:38 +02:00
parent 1d0790471f
commit 73d590cebd
1 changed files with 1 additions and 0 deletions

View File

@ -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);