-
Notifications
You must be signed in to change notification settings - Fork 40
Show stacktrace in case of build level failures #233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show stacktrace in case of build level failures #233
Conversation
const request = require('request'); | ||
|
||
const downloadBuildStacktrace = async (url) => { | ||
return new Promise(async (resolve, reject) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
process.stdout.on('error', (err) => { | ||
error = err; | ||
process.stdout.close(); | ||
reject(err); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be reject(response.statusCode)
?
… into build_stacktace_for_cli
User facing changelog