Closed miguelcmedeiros closed 6 months ago
This one bit me today, I was sending a message with {"id": UUID()}
and hadn't realised that it should have been {"id": UUID().v4()}
. There was no error and I even got a reply of OK.
edit: just tried running my scenario against this fix, the error showed up immediately. This change would have saved me hours today.
cc @matehat @phildupuis
In the event of
_channel.socket.sendMessage()
(inPush.send()
) or_channel.onPushReply()
throwing, then the exception/error is swallowed in_receiveResponse()
since it handles onMessage
andPhoenixException
.If there another failure, then those are not handled internally by the package or neither do they bubble up to the caller side.