remove-markdown icon indicating copy to clipboard operation
remove-markdown copied to clipboard

Add prefix string to error log

Open tedyu opened this issue 10 months ago • 6 comments

This PR adds prefix string when error is encountered.

In elk, we sometimes saw the follwing:

 TypeError: removeMarkdown(...).substr is not a function

It might be possible that removeMarkdown wasn't able to parse the argument.

However, there is not much clue what error happened.

With the error prefix, it would be easier to find the cause.

tedyu avatar Apr 05 '24 16:04 tedyu