René's URL Explorer Experiment


Title: refactor: print nicer error to load config error by KarolosLykos · Pull Request #428 · commitdev/zero · GitHub

Open Graph Title: refactor: print nicer error to load config error by KarolosLykos · Pull Request #428 · commitdev/zero

X Title: refactor: print nicer error to load config error by KarolosLykos · Pull Request #428 · commitdev/zero

Description: zero/internal/config/projectconfig/project_config.go Lines 70 to 74 in 0c9bf0c log.Panicf("failed to read config: %v", err) } err = yaml.Unmarshal(data, &config) if err != nil { log.Panicf("failed to parse config: %v", err) This is a fairly common failure case and it should be pretty obvious to the user how to resolve it, there's no need for the stack trace we get with log.Panicf, let's use exit.Fatal instead.

Open Graph Description: zero/internal/config/projectconfig/project_config.go Lines 70 to 74 in 0c9bf0c log.Panicf("failed to read config:...

X Description: zero/internal/config/projectconfig/project_config.go Lines 70 to 74 in 0c9bf0c log.Panicf("failed to read con...

Opengraph URL: https://github.com/commitdev/zero/pull/428

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:583f6f7a-de41-0caa-68a0-0c92a61e99ed
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idB5EA:15EFD8:17E292:214603:6981CC65
html-safe-nonce83a21d01dbb2d89b05bf632dc6c8e2e49d659ce421fad54bda41faa41bcb3203
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUVBOjE1RUZEODoxN0UyOTI6MjE0NjAzOjY5ODFDQzY1IiwidmlzaXRvcl9pZCI6IjEzMjkzMjMxNTMzMjI3ODk5ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac92ccaa87065a60285276ab6faebb1d45bcea48b39088d4baad2f82b8b6ef8e13
hovercard-subject-tagpull_request:763274910
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/commitdev/zero/pull/428/checks
twitter:imagehttps://avatars.githubusercontent.com/u/6889652?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6889652?s=400&v=4
og:image:altzero/internal/config/projectconfig/project_config.go Lines 70 to 74 in 0c9bf0c log.Panicf("failed to read config:...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None95dd6eb30a064b87bd2c653e622fe2eb6a2ec1d12751c5463c252220548e75a4
turbo-cache-controlno-preview
go-importgithub.com/commitdev/zero git https://github.com/commitdev/zero.git
octolytics-dimension-user_id44272088
octolytics-dimension-user_logincommitdev
octolytics-dimension-repository_id203630543
octolytics-dimension-repository_nwocommitdev/zero
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id203630543
octolytics-dimension-repository_network_root_nwocommitdev/zero
turbo-body-classeslogged-out env-production page-responsive full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7f9fe298cbc605034955dde47054b68dbf531efd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/commitdev/zero/pull/428/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitdev%2Fzero%2Fpull%2F428%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2Fcommitdev%2Fzero%2Fpull%2F428%2Fchecks
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%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=commitdev%2Fzero
Reloadhttps://github.com/commitdev/zero/pull/428/checks
Reloadhttps://github.com/commitdev/zero/pull/428/checks
Reloadhttps://github.com/commitdev/zero/pull/428/checks
commitdev https://github.com/commitdev
zerohttps://github.com/commitdev/zero
Notifications https://github.com/login?return_to=%2Fcommitdev%2Fzero
Fork 53 https://github.com/login?return_to=%2Fcommitdev%2Fzero
Star 582 https://github.com/login?return_to=%2Fcommitdev%2Fzero
Code https://github.com/commitdev/zero
Issues 46 https://github.com/commitdev/zero/issues
Pull requests 11 https://github.com/commitdev/zero/pulls
Discussions https://github.com/commitdev/zero/discussions
Actions https://github.com/commitdev/zero/actions
Projects 0 https://github.com/commitdev/zero/projects
Security 0 https://github.com/commitdev/zero/security
Insights https://github.com/commitdev/zero/pulse
Code https://github.com/commitdev/zero
Issues https://github.com/commitdev/zero/issues
Pull requests https://github.com/commitdev/zero/pulls
Discussions https://github.com/commitdev/zero/discussions
Actions https://github.com/commitdev/zero/actions
Projects https://github.com/commitdev/zero/projects
Security https://github.com/commitdev/zero/security
Insights https://github.com/commitdev/zero/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcommitdev%2Fzero%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcommitdev%2Fzero%2Fissues%2Fnew%2Fchoose
bmonkmanhttps://github.com/bmonkman
commitdev:mainhttps://github.com/commitdev/zero/tree/main
KarolosLykos:issue-427-print_nicer_error_to_load_confighttps://github.com/KarolosLykos/zero/tree/issue-427-print_nicer_error_to_load_config
Conversation 5 https://github.com/commitdev/zero/pull/428
Commits 3 https://github.com/commitdev/zero/pull/428/commits
Checks 0 https://github.com/commitdev/zero/pull/428/checks
Files changed https://github.com/commitdev/zero/pull/428/files
Please reload this pagehttps://github.com/commitdev/zero/pull/428/checks
Please reload this pagehttps://github.com/commitdev/zero/pull/428/checks
refactor: print nicer error to load config error https://github.com/commitdev/zero/pull/428/checks#top
Please reload this pagehttps://github.com/commitdev/zero/pull/428/checks
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.