Skip to content

Commit

Permalink
Write debug output inside stderr in an attempt to keep them in the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurswag committed Dec 3, 2024
1 parent bac1b37 commit 69f580d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/routes/(authentication)/login/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ interface AuthenticationFlow {
function makeRedirectURL(currentLang: string, preferedLang: string, url: URL): string {
const next = url.searchParams.get('next');
const secureNext = getSecureRedirect(next) || '/';
console.log(`[DEBUG] '${currentLang}' === '${preferedLang}'`);
console.error(`[DEBUG] '${currentLang}' === '${preferedLang}'`);
if (currentLang === preferedLang) {
return secureNext;
}
Expand Down

0 comments on commit 69f580d

Please sign in to comment.