Skip to content

understand geterrmessage() vs toString(result) #42

@jonathancallahan

Description

@jonathancallahan

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.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions