justin-roche / serenade-mode

Emacs minor mode providing integration with Serenade
18 stars 3 forks source link

'beginning of line' or 'end of line' produces non-debuggable error #3

Closed rswgnu closed 3 years ago

rswgnu commented 3 years ago

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.

justin-roche commented 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?

rswgnu commented 3 years ago

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.