Emit helpful errors when file system access fails rather than just calling unwrap
.
#932
Labels
impact: small
Minor papercuts in Rojo that don't warrant immediate resolutoin.
status: ready for work
Ready to go! We would accept a PR to do this.
type: tech debt
Internal work that needs to happen
There are a huge variety of places where Rojo just assumes it can access a file or folder, so we call
unwrap
on IO operations. We should not do that, since it can fail pretty easily.Instead, we should emit an error that's actually useful to errors and not just an OS error.
The text was updated successfully, but these errors were encountered: