mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
include stacktrace in error
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user