Skip to content

Commit e38ecfb

Browse files
committed
log full error, as a workaround for the non existing debuggability of this crap
1 parent e05ac7b commit e38ecfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

http-server/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ app.post("/", async (req, res) => {
105105
res.status(200).json({ success: true });
106106
} catch (err) {
107107
console.error(err);
108-
res.status(500).json({ error: err.message });
108+
res.status(500).json({ error: err.message, stackTrace: err });
109109
}
110110
});
111111

0 commit comments

Comments
 (0)