Sheco / cdda-itembrowser

Cataclysm DDA: Item Browser
MIT License
25 stars 10 forks source link

[Enhancement] Better error message. #20

Open Soyweiser opened 8 years ago

Soyweiser commented 8 years ago

Right now if you go to a page that is no longer there like: http://cdda.estilofusion.com/recharge_station (I think either the item ID was changed, or the reference from the wiki is wrong) you get a "Whoops, looks like something went wrong." message. No gui loads etc.

This happens in more cases, when there are recipes not loading properly for example.

This isn't that useful, imho. There should be more information what went wrong, and some possibility to continue using the itembrowser without editing the url.

Sheco commented 7 years ago

For some reason the recharging station in the 0.C database has an invalid item when disassembled, I wrote a quick patch around this, which might be good enough for now, I hope.