Fix (error) always reply with an error #oops
We had a case where reply would never be called. This could case a server hang.
This commit is contained in:
parent
79c6a81a3a
commit
b032be20d1
@ -20,8 +20,9 @@ export default (target, key, descriptor) => {
|
||||
error.reformat();
|
||||
}
|
||||
|
||||
reply(error);
|
||||
}
|
||||
|
||||
reply(error);
|
||||
} else if (!e.isBoom) {
|
||||
const { message } = e;
|
||||
let err;
|
||||
|
Loading…
Reference in New Issue
Block a user