Commit Graph

8 Commits

Author SHA1 Message Date
Ewan Mellor 2f70137a1b Bug #897054: stack crashes with AttributeError on e.reason if the server returns an error
Swap the URLError and HTTPError exception handlers.  HTTPError is a subclass
of URLError, so the HTTPError handler wasn't being reached.

Change-Id: Iec86d2b345dbd37858af888bbd54a74884025eda
2011-11-27 20:14:40 -08:00
Ewan Mellor 0f7f91c2e5 Bug #884018: "stack help" prints stacktrace if it cannot connect to the server
Add a handler for URLError, so that we print a nicer error message if stack
cannot connect to the server.

Change-Id: I24f977dcb12bee3bb21057fe9b19823d98581141
2011-10-30 15:58:31 -07:00
Johannes Erdfelt 7b8f6ac41a Sort list of controllers/methods before printing 2011-05-18 21:25:35 +00:00
termie ac44b8a9c5 improve the formatting of the stack tool 2011-03-24 12:42:46 -07:00
jaypipes@gmail.com 785c5df3d1 Removes circular import issues from bin/stack and replaces utils.loads with json.loads. Fixes Bug#704424 2011-01-18 10:24:20 -05:00
Andy Smith 5679caa48b rename easy to direct in the scripts 2011-01-04 14:39:48 -08:00
Andy Smith 1a66771aaf fix typo in stack tool 2011-01-04 14:37:04 -08:00
Andy Smith 8e1b74aa1c Added stack command-line tool 2010-12-27 15:15:24 -08:00