Show More
@@ -59,9 +59,12 b' def reraise_safe_exceptions(func):' | |||
|
59 | 59 | except (HangupException, UnexpectedCommandError) as e: |
|
60 | 60 | raise exceptions.VcsException(e.message) |
|
61 | 61 | except Exception as e: |
|
62 | if not hasattr(e, '_vcs_kind'): | |
|
63 | log.exception("Unhandled exception in git remote call") | |
|
64 | raise_from_original(exceptions.UnhandledException) | |
|
62 | # NOTE(marcink): becuase of how dulwich handles some exceptions | |
|
63 | # (KeyError on empty repos), we cannot track this and catch all | |
|
64 | # exceptions, it's an exceptions from other handlers | |
|
65 | #if not hasattr(e, '_vcs_kind'): | |
|
66 | #log.exception("Unhandled exception in git remote call") | |
|
67 | #raise_from_original(exceptions.UnhandledException) | |
|
65 | 68 | raise |
|
66 | 69 | return wrapper |
|
67 | 70 |
General Comments 0
You need to be logged in to leave comments.
Login now