Skip to content

Commit

Permalink
Merge pull request #473 from Sadzurami/fix/unhandled-rejection-when-w…
Browse files Browse the repository at this point in the history
…ebsession-retrieving

Fix for unhandled rejection when retrieving websession
  • Loading branch information
DoctorMcKay authored Sep 3, 2024
2 parents 4c80b9e + 25c20dc commit 7e784b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/07-web.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class SteamUserWeb extends SteamUserWebAPI {
*/

this.emit('webSession', sessionId, cookies);
});
}).catch(error => this.emit('error', new Error('Failed to get web session: ' + error.message)));
}
}

Expand Down

0 comments on commit 7e784b7

Please sign in to comment.