Trakl2014 / trakl

A platform helping you minimise your time in Auckland traffic.
http://challengepost.com/software/trakl
5 stars 0 forks source link

Refactor so that errors in API calls don't crash app #10

Closed surfjedi closed 10 years ago

surfjedi commented 10 years ago

@locksmithdon you wrote this orignally - any thoughts on refactor to prevent crashing?

don-smith commented 10 years ago

I'll definitely look into this this weekend. But this won't be a refactoring, it will be a fix (hopefully).

On Wed, Jun 4, 2014 at 9:36 PM, Lee Blazek notifications@github.com wrote:

@locksmithdon https://github.com/locksmithdon you wrote this orignally

  • any thoughts on refactor to prevent crashing?

— Reply to this email directly or view it on GitHub https://github.com/Trakl2014/trakl/issues/10#issuecomment-45180199.

surfjedi commented 10 years ago

have replaced lot of json parsing and routes with try/catch. Maybe not optimal but prevents alot of crashes