add console.log to debug login issues

This commit is contained in:
Karol Wypchlo 2021-09-29 12:27:42 +02:00
parent add8b7d9e5
commit 3310273968
No known key found for this signature in database
GPG Key ID: C92C016317A964D0
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ export async function getServerSideProps(context) {
throw new Error(`Failed to retrieve flow ${flow} with code ${status}`);
} catch (error) {
console.log(error.message); // log failure message for debugging purpose
return {
redirect: {
permanent: false,