Revert "Removed console error message from translation"

This reverts commit 10a508aaa5.
This commit is contained in:
Sean Yesmunt 2020-07-14 11:06:58 -04:00
parent 10a508aaa5
commit 83e20d3e6e

View file

@ -4,7 +4,7 @@ import uuid from 'uuid/v4';
export function doToast(params: ToastParams) {
if (!params) {
throw Error("'params' object is required to create a toast notification");
throw Error(__("'params' object is required to create a toast notification"));
}
return {