diff --git a/packages/socket/src/pushRequestUsing.js b/packages/socket/src/pushRequestUsing.js index cf8b198e..235fbff9 100644 --- a/packages/socket/src/pushRequestUsing.js +++ b/packages/socket/src/pushRequestUsing.js @@ -28,7 +28,7 @@ const setNotifierRequestStatusSending = (absintheSocket, notifier) => }); const createRequestError = message => { - const error = new Error(`request: ${message}`); + const error = new Error(`request: ${JSON.stringify(message)}`); error.object = message; return error;