iftechfoundation / ifarchive-unbox

IF Archive Unboxing service
https://unbox.ifarchive.org
MIT License
1 stars 2 forks source link

Small fixes #37

Closed erkyrath closed 2 years ago

erkyrath commented 2 years ago

Couple of improvements to diagnostics:

Also one serious fix. In cache.init(), if a single list_contents() call fails, the whole init() call fails. Then the cache tries to reload forever. Turns out list_contents() fails a lot! (See bug filed separately.)

I've updated cache.init() to catch these failures, log an error, and remove the offending file.

erkyrath commented 2 years ago

BTW, I've saved the logs as of today, so it's okay to wipe them by restarting the containers.

curiousdannii commented 2 years ago

Thanks, these all look appropriate.