Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Provide more meaningful message when DOI pattern not matched #106

@vsoch

Description

@vsoch

We just ran into a whedon mysterious error here:

openjournals/joss-reviews#3311

And actually the issue was that here there was a DOI that was missing the first half of the pattern, so it didn't match anything, returned nil, and whedon choked. I'm wondering if we can do some third check there for nil again, and if it's nil, print a meaningful error message? I really like Ruby (and don't get to use it super often) so if you'd like to give me guidance on how this could be best implemented I'd really enjoy doing it!

I also was trying to reproduce locally and I got as far as to run bundle exec whedon compile 3311 with my repo in tmp/3311 but then a style file was missing. I think it would be really useful to have a little more structure or guidance for how to run whedon locally (e.g., where is that style file?) so if future issues arise developers can more easily debug. Thank you!

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