Skip to content

Commit

Permalink
Fix login error
Browse files Browse the repository at this point in the history
  • Loading branch information
f0reachARR committed Jan 24, 2024
1 parent 37ba69b commit 05ca479
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ const updateNotificationAndNotify = async (proxy: KitShibbolethProxy) => {
new MemoryCookieStore(),
);

await kit.loginTo('https://portal.student.kit.ac.jp');

try {
await kit.loginTo('https://portal.student.kit.ac.jp');

await updateLectureInfoAndNotify(kit);
await updateNotificationAndNotify(kit);
errorCount = 0;
Expand Down

0 comments on commit 05ca479

Please sign in to comment.