mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 12:02:48 +00:00
adress app.js changes requested
This commit is contained in:
@@ -503,11 +503,6 @@ app.use(async (err, req, res, next)=>{
|
||||
res.status(err.status || err.response?.status || 500).send(err);
|
||||
return;
|
||||
}
|
||||
if(err.originalUrl?.startsWith('/vault/')) {
|
||||
// console.log('vault error');
|
||||
res.status(err.status || err.response?.status || 500).send(err);
|
||||
return;
|
||||
}
|
||||
|
||||
// console.log('non-API error');
|
||||
const status = err.status || err.code || 500;
|
||||
|
||||
Reference in New Issue
Block a user