Skip to content

Commit 861cb6c

Browse files
Merge pull request #1284 from rocket-admin/fix-foreign-key-widget
uncomment error processing on row request
2 parents 3d2fe10 + 780788e commit 861cb6c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

frontend/src/app/services/table-row.service.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ export class TableRowService {
3030
})
3131
.pipe(
3232
map(res => res),
33-
// catchError((err) => {
34-
// console.log(err);
35-
// this._notifications.showErrorSnackbar(err.error.message);
36-
// return EMPTY;
37-
// })
33+
catchError((err) => {
34+
console.log(err);
35+
this._notifications.showErrorSnackbar(err.error.message);
36+
return EMPTY;
37+
})
3838
);
3939
}
4040

0 commit comments

Comments
 (0)