Skip to content

Commit 2810362

Browse files
committed
feat(auth): include account name in auth errors
1 parent d0bb874 commit 2810362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electron/main/sge/socket/authenticate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const authenticate = async (options: {
4242
if (!response.includes('\tKEY\t')) {
4343
const authError = parseAuthError(response);
4444
logger.error('authentication failed', { authError });
45-
throw new Error(`[SGE:LOGIN:ERROR:AUTHENTICATION] ${authError}`);
45+
throw new Error(`[SGE:LOGIN:ERROR:AUTH] ${username} ${authError}`);
4646
}
4747

4848
logger.debug('authenticated', { username });

0 commit comments

Comments
 (0)