Skip to content

Commit 4009d14

Browse files
committed
Adds catch-all error for serve. Supplants #143 (#146)
1 parent 911611f commit 4009d14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

commands/serve.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ var startServer = function(options) {
4040
utils.logWarning(message);
4141
throw new FirebaseError('Could not find an open port for development server.', {exit: 1});
4242
}
43+
} else {
44+
throw new FirebaseError('An error occurred while starting the development server:\n\n' + err.toString(), {exit: 1});
4345
}
4446
});
4547
};

0 commit comments

Comments
 (0)