try catch in upload
This commit is contained in:
parent
d7ffe7bcec
commit
5e0e2c9ea5
@ -76,6 +76,7 @@ You should have received a copy of the GNU General Public License along with FG
|
||||
},
|
||||
methods: {
|
||||
reqListener(e) {
|
||||
try {
|
||||
if(JSON.parse(e.srcElement.response).status==='OK') {
|
||||
this.message = null;
|
||||
this.azure = true;
|
||||
@ -83,6 +84,9 @@ You should have received a copy of the GNU General Public License along with FG
|
||||
} else {
|
||||
this.message = 'Azure down';
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
},
|
||||
status () {
|
||||
|
Loading…
Reference in New Issue
Block a user