Revert "Replace generic console.error handlers with window.cloudron.onError"
This reverts commit 7db5a48e35.
This commit is contained in:
@@ -108,7 +108,7 @@ async function onRefresh() {
|
||||
page.value = 1;
|
||||
|
||||
const [error, result] = await eventlogsModel.search(actions.join(','), search.value, page.value, perPage.value);
|
||||
if (error) return window.cloudron.onError(error);
|
||||
if (error) return console.error(error);
|
||||
|
||||
eventlogs.value = result.map(e => {
|
||||
return {
|
||||
@@ -125,7 +125,7 @@ async function onRefresh() {
|
||||
async function fetchMore() {
|
||||
page.value++;
|
||||
const [error, result] = await eventlogsModel.search(actions.join(','), search.value, page.value, perPage.value);
|
||||
if (error) return window.cloudron.onError(error);
|
||||
if (error) return console.error(error);
|
||||
|
||||
eventlogs.value = eventlogs.value.concat(result.map(e => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user