Merge pull request #327 from ykris45/patch-1

Update errorHandlers.js
This commit is contained in:
Bill Bittner 2018-01-22 09:51:04 -08:00 committed by GitHub
commit ab93c949fe
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) {