-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show only failure message on install failure (#693)
When the extension installation would fail, the installer would first print a failure message and then a success message. ``` AppSignal installation failed: Could not download archive from any of our mirrors. # Long error message 09:08:07.699 [debug] AppSignal for Elixir 2.2.3 succesfully installed! ``` This happened because the result of `download_and_compile` was not checked, and not handled different if it ran into an error. I updated the `download_and_compile` to not call `abort_installation` directly, but instead let the parent function handle that, along with the success scenario. Now all the failure scenarios (that eventually call) `abort_installation` are handled in the same way. Fixes #686
- Loading branch information
Showing
2 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
bump: "patch" | ||
--- | ||
|
||
Fix install result message to no longer show a success message when an installation failure occurred. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters