Userrepo plug-in should display error when repo already exists

Mirko Stocker avatarMirko Stocker created an issue

The following exception is logged, but the user doesn't see an error message.

09:55:27.357 [qtp654694538-29] ERROR sonia.scm.userrepo.CreateUserRepositoryAction - could not create repository
sonia.scm.repository.RepositoryAllreadyExistExeption: null
        at sonia.scm.repository.AbstractSimpleRepositoryHandler.create(AbstractSimpleRepositoryHandler.java:111) ~[scm-core-1.15-SNAPSHOT.jar:na]
        at sonia.scm.repository.AbstractSimpleRepositoryHandler.create(AbstractSimpleRepositoryHandler.java:62) ~[scm-core-1.15-SNAPSHOT.jar:na]

Comments (1)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.