You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should catch error messages passed back to us by the API. It would be particularly helpful to capture the message and show it to the user. The status quo of ignoring API error messages often causes a real error (the kind that stops execution) just down the line, except now with a cryptic message that doesn't shed much light on what went wrong.
Activity
eddelbuettel commentedon May 8, 2021
It's been a while since I have been in the code but ... what can we do in general? Do we get earlier status messages?
eddelbuettel commentedon May 8, 2021
Looking at #338 we can probably just
Rcpp::stop( txtOfTheReceivedErrorMessage )which then goes to the top R prompt.johnlaing commentedon May 8, 2021
Yes, something like that should work. We'll need to figure out how to identify/grab the
responseErrorto get to it.