mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 12:30:08 -06:00
Added a test and small change for error output
This commit is contained in:
@@ -132,7 +132,7 @@ def autoupdate(runner, store, tags_only, repos=()):
|
||||
try:
|
||||
new_repo_config = _update_repo(repo_config, store, tags_only)
|
||||
except RepositoryCannotBeUpdatedError as error:
|
||||
output.write_line(error.args[0])
|
||||
output.write_line(str(error))
|
||||
output_repos.append(repo_config)
|
||||
retv = 1
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user