Skip to content

Commit

Permalink
Error print
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalLike committed Oct 12, 2024
1 parent 7bf247d commit 74d1565
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ public String getParameter(String name) {
return value;
}
};
return wrappedResolver.resolve(wrappedRequest, CLIENTREGISTRATION_NAME);
try {
return wrappedResolver.resolve(wrappedRequest, CLIENTREGISTRATION_NAME);
} catch (Exception e) {
e.printStacktrace();
}
}

//defaults the "action" to "authorize" and uses the GN default oidc provider name
Expand All @@ -103,7 +107,11 @@ public String getParameter(String name) {
return value;
}
};
return wrappedResolver.resolve(wrappedRequest, CLIENTREGISTRATION_NAME);
try {
return wrappedResolver.resolve(wrappedRequest, CLIENTREGISTRATION_NAME);
} catch (Exception e) {
e.printStacktrace();
}
}

}

0 comments on commit 74d1565

Please sign in to comment.