remove erorr console log and add error toast (#10018)
This commit is contained in:
parent
2fe07f3d8e
commit
64ad336d28
|
@ -100,7 +100,7 @@ export class CollectionsComponent implements OnInit {
|
|||
this.platformUtilsService.showToast("success", null, this.i18nService.t("editedItem"));
|
||||
return true;
|
||||
} catch (e) {
|
||||
this.logService.error(e);
|
||||
this.platformUtilsService.showToast("error", this.i18nService.t("errorOccurred"), e.message);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue