Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc8ebeb9

Browse files
committed
update error message for
1 parentefa7580 commitc8ebeb9

File tree

1 file changed

+8
-4
lines changed
  • web-app/src/services/state/actions

1 file changed

+8
-4
lines changed

‎web-app/src/services/state/actions/api.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,18 @@ export default {
2929
editor:'VSCODE',
3030
},
3131
})
32-
.catch(console.error)
32+
.catch(error=>{
33+
console.error('ERROR: Authentication failed')
34+
console.error(error)
35+
})
3336

3437
if(!result||!result.data){
3538
// TODO handle failed authentication
36-
console.error('ERROR:Authentication failed')
39+
console.error('ERROR:Connection')
3740
consterror={
38-
title:'Authentication Failed',
39-
description:'You may not be connected to the internet. Connect and restart the application',
41+
title:'Connection Failed',
42+
description:
43+
'Either our server is having issues or you may not be connected to the internet. Try checking your connection and restarting the application. ',
4044
}
4145
channel.receive({data:{type:'ERROR',payload:{ error}}})
4246
return

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp