diff --git a/src/Controllers/HooksController.js b/src/Controllers/HooksController.js index 28062696e0..6fcdfc3c91 100644 --- a/src/Controllers/HooksController.js +++ b/src/Controllers/HooksController.js @@ -191,7 +191,11 @@ function wrapToHTTPRequest(hook, key) { try { body = JSON.parse(body); } catch (e) { - err = { error: "Malformed response", code: -1 }; + err = { + error: "Malformed response", + code: -1, + partialResponse: body.substring(0, 100) + }; } } if (!err) {