Revert "Removed console error message from translation"
This reverts commit 10a508aaa5
.
This commit is contained in:
parent
10a508aaa5
commit
83e20d3e6e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue