Commit ee1617e0 authored by mercury233's avatar mercury233

notify error detail

parent e74b02b6
......@@ -163,7 +163,7 @@ export class AppDetailComponent implements OnInit, OnChanges {
}
} catch (e) {
console.error(e);
new Notification(targetApp.name, {body: '下载失败'});
new Notification(targetApp.name, {body: '下载失败' + e.message});
}
}
......@@ -225,7 +225,7 @@ export class AppDetailComponent implements OnInit, OnChanges {
}
} catch (e) {
console.error(e);
new Notification(targetApp.name, {body: '导入失败'});
new Notification(targetApp.name, {body: '导入失败' + e.message});
}
}
......@@ -239,7 +239,7 @@ export class AppDetailComponent implements OnInit, OnChanges {
await this.appsService.update(mod, true);
}
} catch (e) {
new Notification(app.name, {body: '校验失败'});
new Notification(app.name, {body: '校验失败' + e.message});
console.error(e);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment