mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-23 00:24:15 +02:00
get error correctly; closes 274
This commit is contained in:
parent
986c5b7133
commit
b814c6e563
@ -110,8 +110,8 @@
|
|||||||
await post(`/applications/${id}/check.json`, { fqdn: application.fqdn, forceSave });
|
await post(`/applications/${id}/check.json`, { fqdn: application.fqdn, forceSave });
|
||||||
await post(`/applications/${id}.json`, { ...application });
|
await post(`/applications/${id}.json`, { ...application });
|
||||||
return window.location.reload();
|
return window.location.reload();
|
||||||
} catch ({ error }) {
|
} catch (error) {
|
||||||
if (error.startsWith('DNS not set')) {
|
if (error?.startsWith('DNS not set')) {
|
||||||
forceSave = true;
|
forceSave = true;
|
||||||
}
|
}
|
||||||
return errorNotification(error);
|
return errorNotification(error);
|
||||||
|
Loading…
Reference in New Issue
Block a user