-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add prefix string to error log #75
Conversation
Alternatively we can throw the error. |
How would this change help you with triaging your issue? Alternatively, could you add a breakpoint and step through the code (of remove-markdown) to pinpoint the line the error occurs in? |
@hongaar
cc @zuchka Thanks |
@zuchka |
Gentle ping, @zuchka |
@tedyu I’m not really involved with this repo anymore, but if you are struggling to get your PR merged, I would suggest that you temporarily point your production setup to the fork with the PR in it (most dependency resolvers support pointing directly to a GitHub branch), figure out what caused the exception using your new option to throw errors, and then maybe switch back to the regular package. I see no reason to wait for this to get merged to figure out what is causing the bug, now that you already have a fork that can help. |
merged! so sorry for the delay |
shall we do some more testing before we cut a new release, @tedyu? |
This PR seems pretty safe. Thanks |
I'll cut a new release in the next day or so 👍 |
@zuchka Thanks |
This PR adds prefix string when error is encountered.
In elk, we sometimes saw the follwing:
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.