Skip to content

Improve handling of packageId input errors #59

Description

@gremau

There are some functions in EDIutils that fail silently or with confusing error messages when an incomplete packageId parameter is supplied. For example, leaving out the package version for EDIutils::get_provenance_metadata('knb-lter-jrn.202') gives a confusing Internal Server Error message. I think a fairly simple error catch with some useful user feedback ("The packageId is incomplete") would be very helpful for debugging input errors, especially when EDIutils is being called as a dependency. Would utilities/parse_packageId be a good place to put this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions