Add detailed stack info in error report button

Closes #577
This commit is contained in:
rijkvanzanten
2020-10-14 18:31:13 -04:00
parent 5d26e25be8
commit da0b97abd5
4 changed files with 101 additions and 72 deletions

View File

@@ -23,7 +23,7 @@ router.get(
(req, res, next) => {
const service = new ServerService({ accountability: req.accountability });
const data = service.serverInfo();
res.locals.payload = data;
res.locals.payload = { data };
return next();
},
respond