1
0
Fork 0
forked from OpenNeo/impress
impress/app
Emi Matchu 9d8f035360 Oops, stop crashing when modeling "pets" that start with @
Ahh, we recently added a step to pet loading that sends a metadata
request to `PetService.getPet`, which is now (in a sense, correctly!)
raising a `PetNotFound` error when we try modeling with a "pet" that
starts with `@` (a trick we use in situations where we can get an image
hash for a modeling situation, but not an irl pet itself).

In this change, we make it no longer a crashing issue if the pet
metadata request fails: it's not a big deal to have a `PetType` have no
image hash or not have it be up-to-date!

In the next change, I'll also add an optimization to skip fetching it
altogether in this case—but I wanted to see this work first, because
the more general resilience is more important imo!
2024-04-16 10:03:36 -07:00
..
assets Tweak login page styles some more: page title & Remember Me 2024-04-11 09:48:29 -07:00
controllers Tweak NeoPass beta copy and widen the net again 2024-04-11 11:40:16 -07:00
helpers Clarify NeoPass explanations 2024-04-12 07:14:34 -07:00
javascript Oh wow, don't use the images.neopets.com asset proxy anymore either! 2024-04-06 03:38:23 -07:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Oops, stop crashing when modeling "pets" that start with @ 2024-04-16 10:03:36 -07:00
services Use Neopets username as base name for new NeoPass accounts, if possible 2024-04-09 07:48:13 -07:00
views NeoPass launch message on homepage 2024-04-12 07:22:25 -07:00