Skip to content

Commit 38284b8

Browse files
committed
Improved error handling.
1 parent 437eb90 commit 38284b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flow-flowstream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2071,7 +2071,7 @@ function MAKEFLOWSTREAM(meta) {
20712071
let action = ACTION(msg.id, msg.data);
20722072
action.flow = flow;
20732073
action.callback(function(err, response) {
2074-
msg.error = err;
2074+
msg.error = err ? err.toString() : null;
20752075
msg.data = response;
20762076
msg.id = msg.callbackid;
20772077
msg.TYPE = 'flow/action';

0 commit comments

Comments
 (0)