c4dt / lightarti-rest

Arti-wrapper to use REST over Tor
MIT License
5 stars 3 forks source link

Return error when files are missing #45

Open ineiti opened 3 years ago

ineiti commented 3 years ago

Currently the API will probably panic if the files are not in the directory. It should return correct errors for:

wouterl commented 3 years ago

Does this also properly catch if the directory is empty?

wouterl commented 3 years ago

@laurent-girod can you also add a small test to arti-rest itself?

cgrigis commented 3 years ago

Tests on the android side added with c4dt/arti-android#5

ineiti commented 3 years ago

iOS is failing with opaque error - needs to be fixed by @ineiti