mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
fix log messages
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user