Skip to content

Commit b59f2d1

Browse files
committed
Lighthouse: Added error message to sign in function
1 parent 5d8175e commit b59f2d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

performance/lighthouse-script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const signIntoFrontDoor = async (browser, env) => {
1717
await page.waitForSelector('.navbar');
1818
console.log('Logged in...');
1919
await page.close();
20-
} catch {
21-
console.log('Unable to log in or not needed...');
20+
} catch (error) {
21+
console.log('Unable to log in or not needed...', error);
2222
}
2323
};
2424

0 commit comments

Comments
 (0)