Skip to content

feat: Propagate exception from saml library to our logs#1089

Open
CarlSchwan wants to merge 1 commit intomasterfrom
carl/backtrace-logs
Open

feat: Propagate exception from saml library to our logs#1089
CarlSchwan wants to merge 1 commit intomasterfrom
carl/backtrace-logs

Conversation

@CarlSchwan
Copy link
Copy Markdown
Member

And make sure that we also log errors when processing SLO requests.

@CarlSchwan CarlSchwan requested a review from blizzz as a code owner April 29, 2026 12:21
Comment thread lib/Controller/SAMLController.php Outdated

if (count($errors) > 1) {
for ($i = 1; $i < count($errors); $i++) {
$this->logger->error('Got additional SAML error code: ' . $errors[0]);
Copy link
Copy Markdown

@cristianscheid cristianscheid Apr 29, 2026

Choose a reason for hiding this comment

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

should it not be $errors[$i] instead of $errors[0]?

Comment thread lib/Controller/SAMLController.php Outdated
Comment thread lib/Controller/SAMLController.php Outdated
Comment thread lib/Controller/SAMLController.php Outdated
Comment thread lib/Controller/SAMLController.php Outdated
And make sure that we also log errors when processing SLO requests.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
@CarlSchwan CarlSchwan force-pushed the carl/backtrace-logs branch from a282117 to b83f7b0 Compare April 30, 2026 11:10
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.

3 participants