include stacktrace in error

This commit is contained in:
kaso17
2017-08-24 12:02:38 +02:00
parent 1d0790471f
commit 73d590cebd

View File

@@ -43,6 +43,7 @@ namespace Jackett
json["result"] = "error"; json["result"] = "error";
json["error"] = msg; json["error"] = msg;
json["stacktrace"] = exception.StackTrace;
var response = actionExecutedContext.Request.CreateResponse(); var response = actionExecutedContext.Request.CreateResponse();
response.Content = new JsonContent(json); response.Content = new JsonContent(json);