forked from mirrors/amnezia-wg-easy
wip
This commit is contained in:
parent
9d355f67d8
commit
9c34761578
3 changed files with 5 additions and 1 deletions
|
@ -25,6 +25,9 @@ module.exports = class Util {
|
|||
error = new Error(error);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(error);
|
||||
|
||||
return res
|
||||
.status(error.statusCode || 500)
|
||||
.json({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue