Skip to content

Commit

Permalink
fix promise catch
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny committed Oct 12, 2018
1 parent bdfc690 commit 5c91ecb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions antispam.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class SocketAntiSpam {
}

return resolve(data)
})
}).catch(e => {})
}

addSpam(socket) {
Expand Down Expand Up @@ -203,7 +203,7 @@ class SocketAntiSpam {
}).catch(e => {
return reject(e)
})
})
}).catch(e => {})
}

ban(data, min) {
Expand Down

0 comments on commit 5c91ecb

Please sign in to comment.