Skip to content

Commit b9d66bd

Browse files
author
Lukas Holzer
committed
chore: fix tests
1 parent 068a1b8 commit b9d66bd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/commands/dev/dev.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,9 @@ const dev = async (options, command) => {
266266
let settings = {}
267267
try {
268268
settings = await detectServerSettings(devConfig, options, site.root)
269-
} catch (detectServerSettingsError) {
270-
error(detectServerSettingsError)
269+
} catch (error_) {
270+
log(NETLIFYDEVERR, error_.message)
271+
exit(1)
271272
}
272273

273274
command.setAnalyticsPayload({ projectType: settings.framework || 'custom', live: options.live })

0 commit comments

Comments
 (0)