cleanup logs

This commit is contained in:
Andras Bacsai
2022-09-06 08:01:04 +02:00
parent 867f06d813
commit 936baf676e
22 changed files with 15 additions and 69 deletions

View File

@@ -16,7 +16,6 @@
updateStatus.loading = true;
try {
if (dev) {
console.log(`updating to ${latestVersion}`);
await asyncSleep(4000);
return window.location.reload();
} else {

View File

@@ -65,7 +65,6 @@
}
dispatch('refresh');
} catch (error) {
console.log(error);
return errorNotification(error);
}
}

View File

@@ -239,7 +239,6 @@
type: 'success'
});
} catch (error) {
console.log(error);
//@ts-ignore
if (error?.message.startsWith($t('application.dns_not_set_partial_error'))) {
forceSave = true;

View File

@@ -67,7 +67,6 @@
}
}, 1000);
} catch (error) {
console.log(error);
return errorNotification(error);
}
}
@@ -80,7 +79,6 @@
applicationId: id
});
} catch (error) {
console.log(error);
return errorNotification(error);
}
}

View File

@@ -39,7 +39,6 @@
logs = data.logs;
}
} catch (error) {
console.log(error);
return errorNotification(error);
} finally {
logsLoading = false;

View File

@@ -45,7 +45,6 @@
logs = data.logs;
}
} catch (error) {
console.log(error);
return errorNotification(error);
} finally {
loadingLogs = false;

View File

@@ -40,7 +40,6 @@
}
};
} catch (error) {
console.log(error);
return handlerNotFoundLoad(error, url);
}
};

View File

@@ -47,7 +47,6 @@
}
};
} catch (error) {
console.log(error);
return handlerNotFoundLoad(error, url);
}
};

View File

@@ -41,7 +41,6 @@
logs = data.logs;
}
} catch (error) {
console.log(error);
return errorNotification(error);
} finally {
logsLoading = false;

View File

@@ -129,7 +129,6 @@
}
}
}
console.log(error);
return errorNotification(error);
} finally {
loading.save = false;