fix wrong logging

This commit is contained in:
Sebastian Sdorra
2015-01-23 21:33:28 +01:00
parent 31bb6dfe6d
commit 6145d3cb57

View File

@@ -553,7 +553,8 @@ public class RepositoryImportResource
}
catch (RepositoryAllreadyExistExeption ex)
{
logger.warn("a {} repository with the name {} already exists", ex);
logger.warn("a {} repository with the name {} already exists", type,
name);
throw new WebApplicationException(Response.Status.CONFLICT);
}