Log exception

master
Joe Biellik 4 years ago
parent eb41d911b0
commit 88f99fadc9

@ -107,8 +107,8 @@ module.exports = {
try { try {
await paste.save(); await paste.save();
} catch (ex) { } catch (err) {
ctx.throw(500, 'Internal Storage Error'); ctx.throw(500, err.message);
} }
// /?highlight=xxx // /?highlight=xxx

Loading…
Cancel
Save