Merge lp:~corey.bryant/charm-helpers/install-warning into lp:charm-helpers
Proposed by
Corey Bryant
Status: | Merged |
---|---|
Merged at revision: | 403 |
Proposed branch: | lp:~corey.bryant/charm-helpers/install-warning |
Merge into: | lp:charm-helpers |
Diff against target: |
28 lines (+4/-3) 2 files modified
charmhelpers/fetch/__init__.py (+3/-2) charmhelpers/fetch/giturl.py (+1/-1) |
To merge this branch: | bzr merge lp:~corey.bryant/charm-helpers/install-warning |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
charmers | Pending | ||
Review via email: mp+264340@code.launchpad.net |
To post a comment you must log in.
If an install_remote() handler fails, it should provide a clear error. For example, currently if git clone fails, the install_remote() code masks the original exception that was raised by the git handler, and raises UnhandledSource, making it difficult to understand what the cause of the original failure is.
This fix logs the original exception details as a warning before the UnhandledSource traceback.