Revert "Replace generic console.error handlers with window.cloudron.onError"
This reverts commit 7db5a48e35.
This commit is contained in:
@@ -24,7 +24,7 @@ async function onSend() {
|
||||
if (error) {
|
||||
busy.value = false;
|
||||
formError.value = error.body ? error.body.message : 'Internal error';
|
||||
if (error) return window.cloudron.onError(error);
|
||||
return console.error(error);
|
||||
}
|
||||
|
||||
window.pankow.notify({ type: 'success', text: t('profile.passwordResetNotification.body', { email: email.value }) });
|
||||
@@ -41,7 +41,7 @@ defineExpose({
|
||||
email.value = u.fallbackEmail || u.email;
|
||||
|
||||
const [error, result] = await usersModel.getPasswordResetLink(u.id);
|
||||
if (error) return window.cloudron.onError(error);
|
||||
if (error) return console.error(error);
|
||||
resetLink.value = result;
|
||||
|
||||
dialog.value.open();
|
||||
|
||||
Reference in New Issue
Block a user