Merge lp:~jml/pkgme/pickleable-exceptions into lp:pkgme
Proposed by
Jonathan Lange
Status: | Merged |
---|---|
Merged at revision: | 87 |
Proposed branch: | lp:~jml/pkgme/pickleable-exceptions |
Merge into: | lp:pkgme |
Diff against target: |
46 lines (+8/-8) 1 file modified
pkgme/run_script.py (+8/-8) |
To merge this branch: | bzr merge lp:~jml/pkgme/pickleable-exceptions |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
pkgme committers | Pending | ||
Review via email: mp+83171@code.launchpad.net |
Description of the change
Turns out that celery pickles exceptions, and that you need to pass arguments to the parent classes in order to have exceptions pickle and unpickle successfully. Pickling is important for getting full error messages out of the tasks. In particular, the custom logic that we used to show the output from failed pkgme scripts wasn't getting used until I applied this patch.
http://
To post a comment you must log in.