René's URL Explorer Experiment


Title: Improve error reporting in the "try_run" function and correctly include original command output in the error message by Kami · Pull Request #153 · codecov/codecov-python · GitHub

Open Graph Title: Improve error reporting in the "try_run" function and correctly include original command output in the error message by Kami · Pull Request #153 · codecov/codecov-python

X Title: Improve error reporting in the "try_run" function and correctly include original command output in the error message by Kami · Pull Request #153 · codecov/codecov-python

Description: Python report uploader for Codecov. Contribute to codecov/codecov-python development by creating an account on GitHub.

Open Graph Description: This pull request fixes check_output function to correctly include output of the command which ran in the CalledProcessError exception which is thrown. In addition to that, it also includes return ...

X Description: This pull request fixes check_output function to correctly include output of the command which ran in the CalledProcessError exception which is thrown. In addition to that, it also includes return ...

Opengraph URL: https://github.com/codecov/codecov-python/pull/153

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b81e16af-dd3e-8498-4d05-2ca9c93dcf5d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE560:237528:F63BFF:15264BE:6A4CA0DE
html-safe-nonce300049118464319e83eb6d4fae3abe318ff0c37c92b2c23332bd8c237ebb93bf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTYwOjIzNzUyODpGNjNCRkY6MTUyNjRCRTo2QTRDQTBERSIsInZpc2l0b3JfaWQiOiIzOTQ5MzM1MTg5Mzk3NTg4MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac26e1c37ae1c1c4653cc7c17a8cec2c97fff73e4871f4336017de969c00b7386e
hovercard-subject-tagpull_request:203800531
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/codecov/codecov-python/153/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2684829849a4c82178d62c9b8ea56e9073fe4b9891e2fc3a4e971ebc0f44d77e/codecov/codecov-python/pull/153
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2684829849a4c82178d62c9b8ea56e9073fe4b9891e2fc3a4e971ebc0f44d77e/codecov/codecov-python/pull/153
og:image:altThis pull request fixes check_output function to correctly include output of the command which ran in the CalledProcessError exception which is thrown. In addition to that, it also includes return ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKami
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-cache
go-importgithub.com/codecov/codecov-python git https://github.com/codecov/codecov-python.git
octolytics-dimension-user_id8226205
octolytics-dimension-user_logincodecov
octolytics-dimension-repository_id22685735
octolytics-dimension-repository_nwocodecov/codecov-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id22685735
octolytics-dimension-repository_network_root_nwocodecov/codecov-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseae90d426644ca15e89bacceb72e51f4e9dbf85f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/codecov/codecov-python/pull/153#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcodecov%2Fcodecov-python%2Fpull%2F153
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcodecov%2Fcodecov-python%2Fpull%2F153
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=codecov%2Fcodecov-python
Reloadhttps://github.com/codecov/codecov-python/pull/153
Reloadhttps://github.com/codecov/codecov-python/pull/153
Reloadhttps://github.com/codecov/codecov-python/pull/153
Please reload this pagehttps://github.com/codecov/codecov-python/pull/153
codecov https://github.com/codecov
codecov-pythonhttps://github.com/codecov/codecov-python
Notifications https://github.com/login?return_to=%2Fcodecov%2Fcodecov-python
Fork 136 https://github.com/login?return_to=%2Fcodecov%2Fcodecov-python
Star 184 https://github.com/login?return_to=%2Fcodecov%2Fcodecov-python
Code https://github.com/codecov/codecov-python
Issues 22 https://github.com/codecov/codecov-python/issues
Pull requests 1 https://github.com/codecov/codecov-python/pulls
Actions https://github.com/codecov/codecov-python/actions
Projects https://github.com/codecov/codecov-python/projects
Security and quality 0 https://github.com/codecov/codecov-python/security
Insights https://github.com/codecov/codecov-python/pulse
Code https://github.com/codecov/codecov-python
Issues https://github.com/codecov/codecov-python/issues
Pull requests https://github.com/codecov/codecov-python/pulls
Actions https://github.com/codecov/codecov-python/actions
Projects https://github.com/codecov/codecov-python/projects
Security and quality https://github.com/codecov/codecov-python/security
Insights https://github.com/codecov/codecov-python/pulse
thomasrockhuhttps://github.com/thomasrockhu
codecov:masterhttps://github.com/codecov/codecov-python/tree/master
Kami:better_error_outputhttps://github.com/Kami/codecov-python/tree/better_error_output
Conversationhttps://github.com/codecov/codecov-python/pull/153
Commits7 (7)https://github.com/codecov/codecov-python/pull/153/commits
Checkshttps://github.com/codecov/codecov-python/pull/153/checks
Files changedhttps://github.com/codecov/codecov-python/pull/153/files
Improve error reporting in the "try_run" function and correctly include original command output in the error messagehttps://github.com/codecov/codecov-python/pull/153#top
thomasrockhuhttps://github.com/thomasrockhu
codecov:masterhttps://github.com/codecov/codecov-python/tree/master
Kami:better_error_outputhttps://github.com/Kami/codecov-python/tree/better_error_output
https://github.com/Kami
Kamihttps://github.com/Kami
Jul 25, 2018https://github.com/codecov/codecov-python/pull/153#issue-344396935
Please reload this pagehttps://github.com/codecov/codecov-python/pull/153
Kamihttps://github.com/Kami
July 25, 2018 12:46https://github.com/codecov/codecov-python/pull/153#commits-pushed-43c4f0d
https://github.com/Kami
Log more info when a command fails.https://github.com/codecov/codecov-python/pull/153/commits/43c4f0d19fc27c65ae51e273e00bec61604328f8
43c4f0dhttps://github.com/codecov/codecov-python/pull/153/commits/43c4f0d19fc27c65ae51e273e00bec61604328f8
https://github.com/Kami
Also log return code.https://github.com/codecov/codecov-python/pull/153/commits/beec5bd1b7fd43641afd50f43a63d6b45d5d4138
beec5bdhttps://github.com/codecov/codecov-python/pull/153/commits/beec5bd1b7fd43641afd50f43a63d6b45d5d4138
https://github.com/Kami
Correctly include process output with the thrown exception.https://github.com/codecov/codecov-python/pull/153/commits/d26470a1daa14b08dc0a10c15f64a6a94d890cdc
d26470ahttps://github.com/codecov/codecov-python/pull/153/commits/d26470a1daa14b08dc0a10c15f64a6a94d890cdc
https://github.com/Kami
Include returncode before the output.https://github.com/codecov/codecov-python/pull/153/commits/fb63124c3d5a53daebe6342a69185afd5d5a11e4
fb63124https://github.com/codecov/codecov-python/pull/153/commits/fb63124c3d5a53daebe6342a69185afd5d5a11e4
https://github.com/Kami
Kamihttps://github.com/Kami
Jul 25, 2018 https://github.com/codecov/codecov-python/pull/153#pullrequestreview-140264379
View reviewed changes https://github.com/codecov/codecov-python/pull/153/files/fb63124c3d5a53daebe6342a69185afd5d5a11e4
codecov/__init__.pyhttps://github.com/codecov/codecov-python/pull/153/files/fb63124c3d5a53daebe6342a69185afd5d5a11e4#diff-36d8bb3370e39b91e34059655e752dabf12ef00bb45a1fe51647ef45a179753e
Kamihttps://github.com/Kami
Jul 25, 2018https://github.com/codecov/codecov-python/pull/153#discussion_r205069348
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/enthought/Python-2.7.3/blob/master/Lib/subprocess.py#L408https://github.com/enthought/Python-2.7.3/blob/master/Lib/subprocess.py#L408
Please reload this pagehttps://github.com/codecov/codecov-python/pull/153
https://github.com/Kami
Kamihttps://github.com/Kami
Jul 25, 2018 https://github.com/codecov/codecov-python/pull/153#ref-pullrequest-344392294
Submit coverage reports to codecov.io on master merge StackStorm/st2#4270 https://github.com/StackStorm/st2/pull/4270
https://github.com/Kami
Kamihttps://github.com/Kami
Jan 21, 2019https://github.com/codecov/codecov-python/pull/153#issuecomment-456216769
Please reload this pagehttps://github.com/codecov/codecov-python/pull/153
https://github.com/hootener
hootenerhttps://github.com/hootener
Jan 22, 2019https://github.com/codecov/codecov-python/pull/153#issuecomment-456268715
@thomasrockhuhttps://github.com/thomasrockhu
Please reload this pagehttps://github.com/codecov/codecov-python/pull/153
https://github.com/thomasrockhu
thomasrockhuhttps://github.com/thomasrockhu
Jan 22, 2019https://github.com/codecov/codecov-python/pull/153#issuecomment-456581420
@Kamihttps://github.com/Kami
Please reload this pagehttps://github.com/codecov/codecov-python/pull/153
https://github.com/thomasrockhu
Merge branch 'master' into better_error_outputhttps://github.com/codecov/codecov-python/pull/153/commits/7887d3c95a10bbf8aa3ec6f2f8ab850b9e2db306
7887d3chttps://github.com/codecov/codecov-python/pull/153/commits/7887d3c95a10bbf8aa3ec6f2f8ab850b9e2db306
https://github.com/thomasrockhu
thomasrockhuhttps://github.com/thomasrockhu
Sep 9, 2020 https://github.com/codecov/codecov-python/pull/153#pullrequestreview-485393521
View reviewed changes https://github.com/codecov/codecov-python/pull/153/files/7887d3c95a10bbf8aa3ec6f2f8ab850b9e2db306
codecov/__init__.pyhttps://github.com/codecov/codecov-python/pull/153/files/7887d3c95a10bbf8aa3ec6f2f8ab850b9e2db306#diff-36d8bb3370e39b91e34059655e752dabf12ef00bb45a1fe51647ef45a179753e
Please reload this pagehttps://github.com/codecov/codecov-python/pull/153
https://github.com/thomasrockhu
Update codecov/__init__.pyhttps://github.com/codecov/codecov-python/pull/153/commits/60bf5f802f024f09013d7a24014591a13cd9aab2
60bf5f8https://github.com/codecov/codecov-python/pull/153/commits/60bf5f802f024f09013d7a24014591a13cd9aab2
https://github.com/thomasrockhu
thomasrockhuhttps://github.com/thomasrockhu
Sep 9, 2020 https://github.com/codecov/codecov-python/pull/153#pullrequestreview-485394343
View reviewed changes https://github.com/codecov/codecov-python/pull/153/files/60bf5f802f024f09013d7a24014591a13cd9aab2
https://github.com/thomasrockhu
blackhttps://github.com/codecov/codecov-python/pull/153/commits/20f316775205bc4352fc256b8a8d5b8019a5b21c
20f3167https://github.com/codecov/codecov-python/pull/153/commits/20f316775205bc4352fc256b8a8d5b8019a5b21c
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Sep 9, 2020https://github.com/codecov/codecov-python/pull/153#issuecomment-689818240
Codecovhttps://codecov.io/gh/codecov/codecov-python/pull/153?src=pr&el=h1
#153https://codecov.io/gh/codecov/codecov-python/pull/153?src=pr&el=desc
masterhttps://codecov.io/gh/codecov/codecov-python/commit/bf97a8bd807cd7839476f63b79b5ae22ae075d5e?el=desc
Please reload this pagehttps://github.com/codecov/codecov-python/pull/153
https://github.com/thomasrockhu
thomasrockhuhttps://github.com/thomasrockhu
6638881https://github.com/codecov/codecov-python/commit/663888151217ff585b206ff721a61c429070a4ad
Sep 9, 2020https://github.com/codecov/codecov-python/pull/153#event-3747816679
https://github.com/thomasrockhu
thomasrockhuhttps://github.com/thomasrockhu
Sep 9, 2020https://github.com/codecov/codecov-python/pull/153#issuecomment-689818548
@Kamihttps://github.com/Kami
Please reload this pagehttps://github.com/codecov/codecov-python/pull/153
https://github.co/hiddenchars
https://github.com/codecov/codecov-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcodecov%2Fcodecov-python%2Fpull%2F153
https://github.com/thomasrockhu
thomasrockhu https://github.com/thomasrockhu
https://github.com/codecov/codecov-python/pull/153/files/60bf5f802f024f09013d7a24014591a13cd9aab2
Please reload this pagehttps://github.com/codecov/codecov-python/pull/153
https://github.com/Kami
https://github.com/hootener
https://github.com/thomasrockhu
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.