add console.log to debug login issues
This commit is contained in:
parent
add8b7d9e5
commit
3310273968
|
@ -32,6 +32,8 @@ export async function getServerSideProps(context) {
|
||||||
|
|
||||||
throw new Error(`Failed to retrieve flow ${flow} with code ${status}`);
|
throw new Error(`Failed to retrieve flow ${flow} with code ${status}`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
console.log(error.message); // log failure message for debugging purpose
|
||||||
|
|
||||||
return {
|
return {
|
||||||
redirect: {
|
redirect: {
|
||||||
permanent: false,
|
permanent: false,
|
||||||
|
|
Reference in New Issue