remove-markdown
remove-markdown copied to clipboard
Add prefix string to error log
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.