You have to stringify the message, here you will see [object Object], not very useful to debug.