Skip to content

Commit

Permalink
Rethrow installation errors (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist authored Jul 9, 2024
1 parent 53c2258 commit e8e50cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/large-phones-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"replayio": patch
---

Return a proper exit code when installation fails
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ export const installLatestRelease = createAsyncFunctionWithTracking(
};
} catch (error) {
logger.error("InstallLatestRelease:Failed", { error });

progress.setFailed(
"Something went wrong installing the Replay browser. Please try again later."
);
throw error;
}
},
"update.runtime.installed",
Expand Down

0 comments on commit e8e50cd

Please sign in to comment.