error message

This commit is contained in:
geek 2018-03-19 14:29:49 +09:00
parent 4229a1f2a6
commit 5e1e06fabe

View File

@ -45,7 +45,7 @@ export class ListComponent implements OnInit, AfterContentInit {
this.dataSource.sort = this.sort;
},
(error: RPCError) => {
console.log(error.response.message);
console.log(error.message);
}
);
}
@ -67,7 +67,7 @@ export class ListComponent implements OnInit, AfterContentInit {
this.dataSource.sort = this.sort;
},
(error: RPCError) => {
console.log(error.response.message);
console.log(error.message);
}
);
console.log(this.selected.id + ' accept');
@ -81,7 +81,7 @@ export class ListComponent implements OnInit, AfterContentInit {
this.dataSource.sort = this.sort;
},
(error: RPCError) => {
console.log(error.response.message);
console.log(error.message);
}
);
console.log(this.selected.id + ' deny');