Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

No proper error message if resources are missing #69

Closed
dominique-unruh opened this issue Jul 1, 2018 · 0 comments
Closed

No proper error message if resources are missing #69

dominique-unruh opened this issue Jul 1, 2018 · 0 comments

Comments

@dominique-unruh
Copy link
Contributor

val in = classLoader.getResourceAsStream(s".libisabelle/$file")

After this line, I think it would be good to check if in==null, and, if so, output an error (this happens if the resource does not exist). That should make it easier to track down errors w.r.t missing resources.

@larsrh larsrh closed this as completed in 55a496f Jul 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant