Commit graph

16 commits

Author SHA1 Message Date
Justin Li
3b84fb3f98 Better logging 2014-07-25 03:39:02 -04:00
Justin Li
818bef28d7 More refactoring of error handling 2014-07-25 03:05:43 -04:00
Justin Li
683e90631a Add pretty stats param and refactor error handling 2014-07-25 03:01:26 -04:00
Justin Li
ab43e6bd97 Add crazy struct flattening code 2014-07-24 20:28:07 -04:00
Jimmy Zelinskie
788b349dd7 ClientError base type struct -> string 2014-07-24 19:34:17 -04:00
Justin Li
b08195aeef Rename RequestsBlocked to ClientErrors and remove special cases from tracker code 2014-07-24 18:01:26 -04:00
Justin Li
02f67b4259 Create a ClientError type to distinguish between failure modes 2014-07-24 17:57:44 -04:00
Justin Li
1a79bdeb6b Add RequestsBlocked stat counter 2014-07-24 17:48:03 -04:00
Justin Li
2a400a0419 Handle ErrBadRequest after HandleAnnounce is called 2014-07-23 01:34:40 -04:00
Justin Li
84195deb58 Correctly handle ErrBadRequest in the announce handler 2014-07-23 01:26:47 -04:00
Justin Li
6396990e52 Move errors to tracker/models 2014-07-23 00:37:30 -04:00
Justin Li
8625c4b3c4 Update the easter egg 2014-07-23 00:12:29 -04:00
Jimmy Zelinskie
4514705363 re-add /check as per discussion 2014-07-22 01:19:09 -04:00
Jimmy Zelinskie
fa191de6d3 serve stats via /check 2014-07-22 01:12:41 -04:00
Jimmy Zelinskie
2c8894fbda rollout more stats 2014-07-21 20:24:51 -04:00
Justin Li
199496bfa6 Move backend to root level, combine announce tests, rename files 2014-07-17 01:26:34 -04:00
Renamed from http/api.go (Browse further)