Closed tehraven closed 2 years ago
A fitting can be saved improperly to the DB in a way where future recall (on these lines of code) will fail to resolve the ship type.
This is entirely user error in the fitting import process...
However, we can help by not crashing with a HTTP 500 NPE, and also just cleaning up the database when this happens.
Closing this down. Will wait for a refactor (which is coming soon) that cleans up this code meaningfully. Thanks @Crypta-Eve
A fitting can be saved improperly to the DB in a way where future recall (on these lines of code) will fail to resolve the ship type.
This is entirely user error in the fitting import process...
However, we can help by not crashing with a HTTP 500 NPE, and also just cleaning up the database when this happens.