momijizukamori: Grey tabby cat with paws on keyboard and mouse. The text reads 'code cat is on the job', lolcats-style (CODE CAT)
Cocoa ([personal profile] momijizukamori) wrote in [site community profile] dw_dev2013-10-04 04:24 pm

Style Search - exception catching and handling?

So I have basic search and match functionality done for the new style search! I'd link the frontend for people to play with except I haven't populated the category table yet so it's boring.

But! I have the backend code - the branch is up on Github. There's a few little things I know need to be added/cleaned up (particularly old code in ThemeNav, and I need to add caching to the style-search worker).

The more important thing, though, is exception/error handling. I have basically only ever written code for myself before, so I have no idea what I need to check and clean, what needs English stripping, any of that. I would love some help looking things over to see what needs to be implemented!

[personal profile] swaldman 2013-10-07 08:16 pm (UTC)(link)
I can't really help on the more general question (and it may be too broad?), but re the specifics of how to handle errors, I can point to this recent response from Mark: http://dw-dev-training.dreamwidth.org/53222.html?thread=360934#cmt360934