Use better error message for problems building repo (#1576)

This commit is contained in:
Winston Li
2016-08-20 12:15:13 +01:00
parent d143baf489
commit 3389615ef6
6 changed files with 37 additions and 11 deletions

View File

@@ -48,7 +48,7 @@ public class WLBridgedProject {
} catch (InvalidProjectException e) {
throw new RepositoryNotFoundException(name);
} catch (SnapshotPostException e) {
throw new RepositoryNotFoundException(name);
throw new ServiceMayNotContinueException(e.getDescriptionLines().get(0), e);
} catch (GitAPIException e) {
throw new ServiceMayNotContinueException(e);
} catch (IOException e) {