Skip to content

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

Merged
merged 17 commits into from
Feb 4, 2022

Conversation

roshan04
Copy link
Contributor

@roshan04 roshan04 commented Jan 25, 2022

User facing changelog

  • Show stacktrace on the CLI in case of build level failures
  • Sample Output for build failure stacktrace

Screenshot 2022-01-28 at 8 31 03 PM

@nagpalkaran95 nagpalkaran95 changed the title Build stacktace for cli Show stacktrace in case of build level failures Jan 28, 2022
const request = require('request');

const downloadBuildStacktrace = async (url) => {
return new Promise(async (resolve, reject) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation issue

Copy link
Contributor Author

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);
Copy link
Collaborator

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)?

@nagpalkaran95 nagpalkaran95 merged commit 543d1e7 into browserstack:master Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants