Skip to content

Commit

Permalink
Use correct log level
Browse files Browse the repository at this point in the history
  • Loading branch information
he-meyer committed Nov 26, 2024
1 parent 00ee643 commit ac8c1df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rolle/api/rolle.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class RolleController {
params.administeredBySchulstrukturknoten,
);
if (!orgResult.ok) {
this.logger.info(
this.logger.error(
`Admin ${permissions.personFields.username} (${permissions.personFields.id}) hat versucht eine neue Rolle ${params.name} anzulegen. Fehler: ${orgResult.error.message}`,
);
throw SchulConnexErrorMapper.mapSchulConnexErrorToHttpException(
Expand Down

0 comments on commit ac8c1df

Please sign in to comment.