Permalink
Browse files

Merge pull request #577 from tswaters/master

Provide additional error context for validation messages
  • Loading branch information...
2 parents 731a75e + 732c97e commit ebf6547c689dc6b99e5a6951650215922cdfc0b9 @rjrodger rjrodger committed on GitHub Dec 9, 2016
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/actions.js
View
@@ -252,7 +252,8 @@ function inward_validate_msg (ctxt, data) {
info: {
pattern: ctxt.actmeta.pattern,
message: err.message,
- msg: Common.clean(msg)
+ msg: Common.clean(msg),
+ error: err
},
log: {
level: so.trace.invalid ? 'warn' : null,

0 comments on commit ebf6547

Please sign in to comment.