Skip to content

Commit

Permalink
v7.2.14 add debug to resolve errors
Browse files Browse the repository at this point in the history
  • Loading branch information
iamruinous committed Apr 10, 2017
1 parent 656b923 commit 0962a66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "command-and-control-service",
"version": "7.2.13",
"version": "7.2.14",
"description": "command-and-control-service an Octoblu Service",
"keywords": [
"Octoblu",
Expand Down
4 changes: 3 additions & 1 deletion src/services/message-service.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ class MessageService

resolve: (callback) =>
@resolver.resolve @device, (error, resolvedDevice) =>
debug error.stack if error?
return callback error if error?
@device = resolvedDevice if resolvedDevice?
callback error
callback()

process: (callback) =>
debug 'messageService.create'
Expand Down

0 comments on commit 0962a66

Please sign in to comment.