Skip to content

Commit

Permalink
Merge pull request #24668 from xueyawei/patch-2
Browse files Browse the repository at this point in the history
 CLI: Ensure errors with opening the browser are caught
  • Loading branch information
ndelangen authored Nov 2, 2023
2 parents ac9880f + c33389f commit 5403dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/core-server/src/utils/open-in-browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function openInBrowser(address: string) {
) {
// We use betterOpn for Chrome because it is better at handling which chrome tab
// or window the preview loads in.
betterOpn(address);
await betterOpn(address);
} else {
await open(address, openOptions);
}
Expand Down

0 comments on commit 5403dc8

Please sign in to comment.