add websocket ping connection check
This commit is contained in:
parent
0cfa2340be
commit
25b03d501c
2 changed files with 31 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ const onProfile = async (
|
|||
resolve(parsed.profile);
|
||||
|
||||
} catch(e) {
|
||||
reject(new Error('Failed to fetch profile.'));
|
||||
reject(new Error('Unable to authenticate and fetch account profile.'));
|
||||
}
|
||||
})
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue