This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add debug mode, activated by setting the DEBUG_REMOTEHG env var
For now, all debug mode does is to let exceptions propagate to the top (and thus print their backtrace), while in non-debug mode, backtraces are now suppressed. This should be a bit more user friendly. Additionally, we get rid of one try/except pair which replaced the potentially helpful exception message with a bland 'Repository error'; now the user can e.g. distinguish whether a 404 error occurred, authentication failed or the domain name is unknown (due to a typo).
- Loading branch information