Closed rswgnu closed 3 years ago
Thanks, glad you like it! There seems to be a problem getting socket handlers to throw errors using condition case. I will have to keep investigating or find a library that has an example of it working.
What is the major mode for this particular error? Are you by any chance on the first line?
Yes, I believe I was on the first line.
-- Bob
On Jul 19, 2021, at 11:37 AM, Justin Roche @.***> wrote:
Thanks, glad you like it! There seems to be a problem getting socket handlers to throw errors using condition case. I will have to keep investigating or a find a library that does it.
What is the major mode for this particular error? Are you by any chance on the first line?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
The error produced is:
Error (websocket): in callback `on-message': Wrong type argument: char-or-string-p, nil
which doesn't show which function is being fed the invalid argument. Need a way to see a full stack trace in such instances if some level of debugging is enabled.
P.S. serenade-mode is working pretty well with just a few tweaks so far. Nice work. I hope you get time to document more of the functions for easier reference within the source.