jsonresume.org icon indicating copy to clipboard operation
jsonresume.org copied to clipboard

Vague error message: #likely-a-validation-error

Open tgrushka opened this issue 2 years ago • 1 comments

My resume works with some themes:

  • https://registry.jsonresume.org/tgrushka?theme=simple
  • https://registry.jsonresume.org/tgrushka?theme=elegant

But not others:

  • https://registry.jsonresume.org/tgrushka?theme=actual
  • https://registry.jsonresume.org/tgrushka?theme=autumn

Most importantly, it does not work with mine, as I tweaked for accessibility and to meet my needs, and published:

  • https://registry.jsonresume.org/tgrushka?theme=tom-actual

There is no explanation. Can we please have an error message to the effect of:

  • The registry cannot find the theme package;
  • There was a parsing error in our resume, and exactly where it is;
  • The theme did not export the correct function signature or something similar;
  • The theme package generated an error, and what it is.
  • Print the raw error message.

These would be really helpful, as the schema has changed and a bunch of themes are now broken. Thanks!

tgrushka avatar Sep 28 '23 21:09 tgrushka

Great and necessary feedback.

Will make sure this get's done this weekend.

(The only tricky part is that themes are community developed, and sometimes they crash for reasons out of the registries control, but the error can still be surfaced and more descriptive (and a link to the theme repo))

thomasdavis avatar Oct 18 '23 21:10 thomasdavis