chore: minor fixes

This commit is contained in:
Adhiraj Singh
2021-12-24 10:18:21 +05:30
parent 71a545e972
commit 83bfa0e9b9
2 changed files with 3 additions and 2 deletions

View File

@@ -165,7 +165,7 @@ export async function promiseTimeout<T>(ms: number, promise: (resolve: (v?: T)=>
delay
.then(() => reject(
new Boom('Timed Out', {
statusCode: 408,
statusCode: DisconnectReason.timedOut,
data: {
stack
}