plenary.nvim icon indicating copy to clipboard operation
plenary.nvim copied to clipboard

some logging statements disappear

Open teto opened this issue 2 years ago • 0 comments

I mistyped a variable name when logging a string, instead of

  log.fmt_debug("Identified method %s", parsed_url.method)

I wrote

  log.fmt_debug("Identified method %s", parse_url.method)

with parse_url a function but one can reproduce with any function:

  log.fmt_debug("Identified method %s", print.method)

and the message never appears, I suspect it triggers an error that is never logged, which I find troubling, I wonder if it's possible to log instead "ERROR: Couldnt log" ?

teto avatar Jun 21 '22 15:06 teto