ORESoftware/bunion

error should not be inspected the producer, but instead in the consumer

ORESoftware opened this issue · 0 comments

If there is an error instance, we should do like so:

console.log(JSON.stringify({
 type: 'Error',
 value: {
   message: e.message,
   stack: e.stack
 }
}))