HughBone / fabrilous-updater

Detect updates for fabric mods.
25 stars 7 forks source link

[Bug] Error 404 on Modrinth not handled properly #14

Open jschenke488 opened 2 years ago

jschenke488 commented 2 years ago

When a mod on Modrinth is returned as error 404, this creates a NullPointerException. An example would be attempting to find Xaero's Minimap which is not on Modrinth. It attempts to fetch https://api.modrinth.com/api/v1/version_file/710ba1caf18cbef58213d60ef2f2d5405c4ad7de?algorithm=sha1 which returns 404 Not Found then causes a NullPointerException.