We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentefa7580 commitc8ebeb9Copy full SHA for c8ebeb9
web-app/src/services/state/actions/api.ts
@@ -29,14 +29,18 @@ export default {
29
editor:'VSCODE',
30
},
31
})
32
-.catch(console.error)
+.catch(error=>{
33
+console.error('ERROR: Authentication failed')
34
+console.error(error)
35
+})
36
37
if(!result||!result.data){
38
// TODO handle failed authentication
-console.error('ERROR:Authentication failed')
39
+console.error('ERROR:Connection')
40
consterror={
-title:'Authentication Failed',
-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. ',
44
}
45
channel.receive({data:{type:'ERROR',payload:{ error}}})
46
return