You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`[Error: Wrangler cannot validate that your Worker name matches what is expected by the build system. Please retry the build.]`
128
+
`[Error: Wrangler cannot validate that your Worker name matches what is expected by the build system. Please retry the build. If the problem persists, please contact support.]`
@@ -48,9 +49,17 @@ export async function verifyWorkerMatchesCITag(
48
49
thrownewFatalError(
49
50
`The name in your ${configFileName(configPath)} file (${workerName}) must match the name of your Worker. Please update the name field in your ${configFileName(configPath)} file.`
50
51
);
52
+
}elseif(einstanceofAPIError){
53
+
thrownewFatalError(
54
+
"An error occurred while trying to validate that the Worker name matches what is expected by the build system.\n"+
55
+
e.message+
56
+
"\n"+
57
+
e.notes.map((note)=>note.text).join("\n")
58
+
);
51
59
}else{
52
60
thrownewFatalError(
53
-
"Wrangler cannot validate that your Worker name matches what is expected by the build system. Please retry the build."
61
+
"Wrangler cannot validate that your Worker name matches what is expected by the build system. Please retry the build. "+
62
+
"If the problem persists, please contact support."
0 commit comments