File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
web-app/src/services/state/actions Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff 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 const error = {
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
You can’t perform that action at this time.
0 commit comments