We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d348ad5 commit 21a6657Copy full SHA for 21a6657
1 file changed
apps/dokploy/server/utils/enterprise.ts
@@ -8,7 +8,9 @@ function isNetworkError(error: unknown): boolean {
8
if (error.message === "fetch failed") return true;
9
const cause = (error as Error & { cause?: { code?: string } }).cause;
10
const code = cause?.code;
11
- return code === "ECONNREFUSED" || code === "ENOTFOUND" || code === "ETIMEDOUT";
+ return (
12
+ code === "ECONNREFUSED" || code === "ENOTFOUND" || code === "ETIMEDOUT"
13
+ );
14
}
15
return false;
16
0 commit comments