Closed simonpcouch closed 4 months ago
Mostly marked as draft because I know exception handling is... A Topic... but I'm not sure I'll make much more progress here without review. Requesting now.
Confirmed GHA failures on macOS are unrelated in the issue linked above.
A follow-up to #643. At the time, parsing the message any further was agreed to be more painful than it was worth. Following up on PRs since then that refine the appearance of errors, this PR proposes rethrowing
nanodbc::database_error
s with cli formatting.Before this PR:
With this PR:
Created on 2024-04-16 with reprex v2.1.0
In the RStudio terminal, this looks like: