Skip to content

Emulators:exec should rethrow errors from emulator startup - #7976

Merged
joehan merged 3 commits into
masterfrom
jh-jdk-error
Nov 21, 2024
Merged

joehan merged 3 commits into
masterfrom
jh-jdk-error

Conversation

@joehan

@joehan joehan commented Nov 20, 2024 •

Copy link
Copy Markdown
Member

Description

Stop swallowing errors from emulator startup during emulators:exec. Fixes #7974 7974

Scenarios Tested

JAVA_HOME=/does/not/exist firebase emulators:exec "exit 0" correctly exits with code 1.

@joehan
joehan requested review from aalej and jamesdaniels November 20, 2024 17:44
@joehan
joehan merged commit c130377 into master Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No JDK causes emulators:exec to immediately exit with a success code

2 participants