Skip to content

FIX: Removed unnecessary warn logs that are part of the login flow #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 24, 2025

Conversation

DvdK-42
Copy link
Contributor

@DvdK-42 DvdK-42 commented Apr 24, 2025

Removed unnecessary WARN logs that have to do with the login flow.

Added 2 checks to the LogUtil:

  • username is null
  • exception == MfaRequiredException

When this is the case we want to debug it, not log a warning, since they are a normal part of the log in flow

@DvdK-42 DvdK-42 requested a review from sptdevos April 24, 2025 12:18
@DvdK-42 DvdK-42 self-assigned this Apr 24, 2025
Copy link

super(msg);
}

public MfaRequiredException(String msg, Throwable cause) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deze constructor wordt toch niet gebruikt? Kan eventueel ook gewoon direct van RuntimeException erven.

@DvdK-42 DvdK-42 merged commit 378dc06 into master Apr 24, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants