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

understand geterrmessage() vs toString(result) #42

Open
jonathancallahan opened this issue May 12, 2020 · 0 comments
Open

understand geterrmessage() vs toString(result) #42

jonathancallahan opened this issue May 12, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jonathancallahan
Copy link
Member

Jon has discovered that the text in stop() messages isn't always available from geterrmessage(). It appears that, in the context of result <- try({ ...}), friendly error messages generated by Mazama validation code is available from toString(result).

We should understand this difference and adjust MazamaCoreUtils::stopOnError() to present the best available information.

@jonathancallahan jonathancallahan added the enhancement New feature or request label May 12, 2020
@jonathancallahan jonathancallahan self-assigned this May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant