Skip to content

Commit cec511a

Browse files
committed
Merge pull request tobami#162 from cykl/svn-error-handling
Better SVN error message.
2 parents 977a54c + aea70a2 commit cec511a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

codespeed/subversion.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ def get_login(realm, username, may_save):
3333
pysvn.opt_revision_kind.number, newrev.commitid
3434
)
3535
)
36-
except pysvn.ClientError:
37-
raise RuntimeError(
38-
"Could not resolve '" + newrev.branch.project.repo_path + "'")
36+
except pysvn.ClientError as e:
37+
raise RuntimeError(e.args)
3938
except ValueError:
4039
raise RuntimeError(
4140
"'%s' is an invalid subversion revision number" % newrev.commitid)

0 commit comments

Comments
 (0)