fix log messages

This commit is contained in:
Sebastian Sdorra
2014-05-22 16:39:33 +02:00
parent e6ffe578d2
commit d42307e8b0

View File

@@ -196,7 +196,7 @@ public abstract class AbstractManagerResource<T extends ModelObject,
} }
catch (Exception ex) catch (Exception ex)
{ {
logger.error("error during create", ex); logger.error("error during delete", ex);
response = createErrorResonse(ex); response = createErrorResonse(ex);
} }
} }
@@ -230,7 +230,7 @@ public abstract class AbstractManagerResource<T extends ModelObject,
} }
catch (ScmSecurityException ex) catch (ScmSecurityException ex)
{ {
logger.warn("delete not allowd", ex); logger.warn("update not allowd", ex);
response = Response.status(Response.Status.FORBIDDEN).build(); response = Response.status(Response.Status.FORBIDDEN).build();
} }
catch (Exception ex) catch (Exception ex)