Update errorHandlers.js

deamon is incorrect billbitt. the correct words is daemon
This commit is contained in:
YULIUS KURNIAWAN KRISTIANTO 2018-01-22 18:05:47 +07:00 committed by GitHub
parent 4dccedc5d0
commit acbf94a686
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ module.exports = {
if (error.code === 'ECONNREFUSED') {
status = 503;
message = 'Connection refused. The daemon may not be running.';
// check for errors from the deamon
// check for errors from the daemon
} else if (error.response) {
status = error.response.status || 500;
if (error.response.data) {