Skip to content
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

prevent application of inline markup within rethrown messages #870

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

simonpcouch
Copy link
Collaborator

@simonpcouch simonpcouch commented Dec 9, 2024

Closes #859.

Safeguards against mistakenly applying inline markup to driver messages when rethrowing based on the cli documentation.

@simonpcouch simonpcouch requested review from hadley and removed request for hadley December 9, 2024 16:54
also, inlines `msg` into `cli_abort()` rather than reverting to `abort()`, per https://cli.r-lib.org/reference/inline-markup.html?q=escape#escaping-and-
@simonpcouch simonpcouch changed the title prevent application of inline markup when rethrown messages fail to parse prevent application of inline markup within rethrown messages Dec 9, 2024
@simonpcouch simonpcouch requested a review from hadley December 9, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A failing query using DBI::dbGetQuery() yields a useless error message
1 participant