Skip to content

Commit bc61c92

Browse files
committed
Allow for easier debugging
Currently, we won't see any stack trace in the error output, e.g. while diagnosing the problem we encountered in git-for-windows/build-extra#455 (comment). Let's make that easier to pinpoint. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 28d7325 commit bc61c92

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

GitForWindowsHelper/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports = async function (context, req) {
2727
&& req.body.comment?.body
2828
&& req.body.comment.body.startsWith('/')) return ok(await slashCommand(context, req))
2929
} catch (e) {
30+
context.log(e)
3031
return withStatus(500, undefined, e.toString('utf-8'))
3132
}
3233

0 commit comments

Comments
 (0)