Repository navigation
[WIP] Additional Log Output During Build - #774
Closed
samkelleher wants to merge 17 commits into
Closed
samkelleher wants to merge 17 commits into
samkelleher wants to merge 17 commits into
Conversation
Console to ensure we can track when the promise resolves/rejects. (seen the code hang here and exit without any warning).
Add logs to track in console activity during build.
A failure of the promise.all results in silent failure later since it's not handled or warned.
Handle rejection and log a warning.
Force quit on failure.
Log end of function.
Test postinstall
Rework promise to break out process.
Log exception
This was referenced Nov 7, 2015
Collaborator
|
@samkelleher seems like a few things in here are already in via PR. Can I get you to split this into smaller PRs please? |
Contributor
Author
|
Yeh the node 5 I added separately as I'm still having issues producing a binary output. I'll tidy this up tomorrow. This pr will simply add more verbose logging during install. |
Collaborator
|
@samkelleher @maxkorp is this still needed? |
Contributor
Author
|
I allowed this to go stale as I started working on another project. It was basically just adding some logging and throwing errors where they were being swallowed to improve onboarding and installation troubleshooting. It might be best to close the PR. |
Collaborator
|
👍 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(maybe I can separate out the node 5 on travis build).
Essentially I've been trying to resolve build issues. The existing build script wasn't handling failure and would just skip ahead regardless of error, or end without writing - this PR is simply adding console logging at each build step, and forcing a failure on errors.