Skip to content

Commit

Permalink
v7.5.3 make errors more verbose, because that's what @royvandewater w…
Browse files Browse the repository at this point in the history
…ants
  • Loading branch information
redaphid / royvandewater committed Jul 21, 2017
1 parent 9e5aee3 commit 29faf58
Show file tree
Hide file tree
Showing 2 changed files with 2 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.5.2",
"version": "7.5.3",
"description": "command-and-control-service an Octoblu Service",
"keywords": [
"Octoblu",
Expand Down
2 changes: 1 addition & 1 deletion src/services/message-service.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class MessageService
@_logInfo {rulesConfig, @data, @device}
@benchmarks["do-rules"] ?= []
@benchmarks["do-rules"].push "#{benchmark.elapsed()}ms"
return callback @_addErrorContext(error, {rulesConfig, @data, @device}), data
return callback @_addErrorContext(error, {rulesConfig, @data, @device, fromDevice}), data

_getFromDevice: (callback) =>
return callback null, @device if _.isEmpty @route
Expand Down

0 comments on commit 29faf58

Please sign in to comment.