Mercurial > hg > mercurial
diff mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/CommandResult.java @ 860:206021e7175e
Don't loose command-line error
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Fri, 22 Aug 2014 20:52:31 +0200 |
parents | dbb5464363d9 |
children | 884c3d03f6ca |
line wrap: on
line diff
--- a/mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/CommandResult.java Wed Aug 13 11:09:17 2014 +0200 +++ b/mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/CommandResult.java Fri Aug 22 20:52:31 2014 +0200 @@ -111,6 +111,8 @@ assert e != null; throw new MercurialNotFoundException(getCommand(), e); } + if (e != null) + throw new VcsException(message, e); throw new VcsException(message); }