fixed [Object object] error
This commit is contained in:
Binary file not shown.
@@ -538,7 +538,8 @@ export class AdbClientService {
|
|||||||
if (deleteAfter) {
|
if (deleteAfter) {
|
||||||
this.appService.fs.unlink(filePath, err => {});
|
this.appService.fs.unlink(filePath, err => {});
|
||||||
}
|
}
|
||||||
let er = e.message ? e.message : e.code ? e.code : e.toString();
|
console.log(e);
|
||||||
|
let er = e.message ? e.message : e.code ? e.code : e.reason ? e.reason : JSON.stringify(e);
|
||||||
if (er === 'SAFESIDE') {
|
if (er === 'SAFESIDE') {
|
||||||
this.appService.headerComponent.safeModal.openModal();
|
this.appService.headerComponent.safeModal.openModal();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user