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
`The \`runtime\` config must be a string. Please leave it empty or choose one of: ${options}`
319
-
)
320
-
}else{
321
-
Log.error(
322
-
`Provided runtime "${resolvedRuntime}" is not supported. Please leave it empty or choose one of: ${options}`
323
-
)
324
-
}
316
+
constmessage=
317
+
typeofresolvedRuntime!=='string'
318
+
? `The \`runtime\` config must be a string. Please leave it empty or choose one of: ${options}`
319
+
: `Provided runtime "${resolvedRuntime}" is not supported. Please leave it empty or choose one of: ${options}`
320
+
Log.error(message)
325
321
if(!isDev){
326
-
process.exit(1)
322
+
thrownewError(message)
327
323
}
328
324
}
329
325
@@ -347,9 +343,8 @@ export async function getPageStaticInfo(params: {
347
343
){
348
344
constmessage=`Page ${page} provided runtime 'edge', the edge runtime for rendering is currently experimental. Use runtime 'experimental-edge' instead.`
0 commit comments