Commit graph

20 commits

Author SHA1 Message Date
Joseph Schorr
61ca29de04 Move the auth context methods into their own file so that we don't have auth trying to import itself 2014-02-25 15:07:24 -05:00
Joseph Schorr
a120f6c64a Make sure all aborts have message information 2014-02-25 14:15:12 -05:00
Joseph Schorr
392e0d7c58 Change docs url 2014-01-29 15:38:25 -05:00
Joseph Schorr
3dc3af9eb2 The CLI can be… odd… when handling errors. Make them nicer for the CLI 2014-01-29 14:08:14 -05:00
Joseph Schorr
2b134158f5 Add issue URLs to most errors. The corresponding issue pages will be checked into the public docs repo 2014-01-28 18:29:45 -05:00
Joseph Schorr
c7e616edb9 Add the request URL to the reported error info 2014-01-24 20:40:22 -05:00
Joseph Schorr
aef719c71a Add the status code and message to the mix panel reported error 2014-01-24 20:37:44 -05:00
Joseph Schorr
b1ec9c4469 Typo fix 2014-01-24 20:34:18 -05:00
Joseph Schorr
c18212f477 Meant update, not copy 2014-01-24 20:33:42 -05:00
Joseph Schorr
9650c1867b Merge branch 'better-error' of https://bitbucket.org/yackob03/quay into better-error
Conflicts:
	util/http.py
2014-01-24 20:32:14 -05:00
Joseph Schorr
8d074d8f3a Add mix panel reporting to http error codes 2014-01-24 20:29:25 -05:00
yackob03
f585430399 Make abort return a json block, which is apparently what the client expects. Remove unused imports. Fix line length and kwarg problems. 2014-01-24 17:00:42 -05:00
Joseph Schorr
0d84cfdf17 Add more default messages 2014-01-24 15:26:32 -05:00
Joseph Schorr
374754c9c9 Handle if message is a non-string 2014-01-24 15:24:26 -05:00
Joseph Schorr
4cea2a6449 Nicer error formatting 2014-01-24 15:17:00 -05:00
Joseph Schorr
229eeec1be Don’t have a headers var anymore 2014-01-24 15:12:11 -05:00
Joseph Schorr
fd4ac04b5a HTTPException import 2014-01-24 15:10:51 -05:00
Joseph Schorr
efcbe4421d Fix logger 2014-01-24 15:09:35 -05:00
Joseph Schorr
77f2706a19 Properly use the auth’ed objects 2014-01-24 15:06:35 -05:00
Joseph Schorr
30a26d099f Have the index use the same abort method 2014-01-24 15:01:40 -05:00