René's URL Explorer Experiment


Title: Exceptions are not propagated properly · Issue #2 · RandomOrg/JSON-RPC-.NET · GitHub

Open Graph Title: Exceptions are not propagated properly · Issue #2 · RandomOrg/JSON-RPC-.NET

X Title: Exceptions are not propagated properly · Issue #2 · RandomOrg/JSON-RPC-.NET

Description: If RandomOrgClient roc = RandomOrgClient.GetRandomOrgClient(YOUR_API_KEY_HERE); is executed without an active internet connection, the resulting exception is not handled by the surrounding try/catch block. Execution always stops here: In...

Open Graph Description: If RandomOrgClient roc = RandomOrgClient.GetRandomOrgClient(YOUR_API_KEY_HERE); is executed without an active internet connection, the resulting exception is not handled by the surrounding try/catc...

X Description: If RandomOrgClient roc = RandomOrgClient.GetRandomOrgClient(YOUR_API_KEY_HERE); is executed without an active internet connection, the resulting exception is not handled by the surrounding try/catc...

Opengraph URL: https://github.com/RandomOrg/JSON-RPC-.NET/issues/2

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Exceptions are not propagated properly","articleBody":"If RandomOrgClient roc = RandomOrgClient.GetRandomOrgClient(YOUR_API_KEY_HERE); is executed without an active internet connection, the resulting exception **is not handled** by the surrounding try/catch block.\n\nExecution always stops here:\n\u003cimg width=\"2142\" height=\"1280\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/8d531535-3bc0-4fb7-9daa-2a7e3acadb06\" /\u003e\n\nInstead of getting to the catch clause of my try/catch block:\n\n```\n try\n\t {\n             var client = RandomOrgClient.GetRandomOrgClient(RANDOM_ORG_KEY);\n             var randomNumbers = client.GenerateIntegers(10, 1, 10, true);\n\t }\n\t catch (Exception ex)\n\t {\n\t \t// IT NEVER GETS HERE\n\t }\n\n```\n\nIn other words, exceptions triggered inside ThreadedRequestSending (the \"core\" part of the library) are not propagated back to the caller and they just make the applications crash.\n\nHow to reproduce:\n1) Implement a simple console application containing the code above\n2) Run it WITHOUT being connected to the Internet or just throw an exception from ThreadedRequestSending\n\nThe issue is likely caused by the fact that requested are sent in separate threads (ThreadedRequestSending), but this approach prevents proper handling of exceptions raised by the library. If that is the actual reason for this behaviour, I would suggest to use one of the following approaches to propagate the error back to the caller:\n\n- Ashared data structure (e.g., ConcurrentQueue\u003cException\u003e).\n- Events or callbacks.\n- **Switch to Task and async/await for easier exception propagation.**","author":{"url":"https://github.com/nandaccio","@type":"Person","name":"nandaccio"},"datePublished":"2025-08-22T11:05:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/JSON-RPC-.NET/issues/2"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a7596dc6-d4ed-ffb9-6db7-dbfc26e88741
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDB2C:7A2FF:4F029:6D2DE:6981E908
html-safe-noncea0c8549578c0ca54da395f16a3d0f656f2d294cf5735654bd537a7e503c9617b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjJDOjdBMkZGOjRGMDI5OjZEMkRFOjY5ODFFOTA4IiwidmlzaXRvcl9pZCI6IjU1MzI1OTM3NDc5NTY3MjE5MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdf9b60ea166e7a0d163bc2a3ee8e65c25ad7a9d67e95b59e99ab44e315a2a56d
hovercard-subject-tagissue:3345097234
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RandomOrg/JSON-RPC-.NET/2/issue_layout
twitter:imagehttps://opengraph.githubassets.com/14a3b3362635707321a542275b8c2f0f66115c1129ac7b52f0da872e5cdfc3ea/RandomOrg/JSON-RPC-.NET/issues/2
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/14a3b3362635707321a542275b8c2f0f66115c1129ac7b52f0da872e5cdfc3ea/RandomOrg/JSON-RPC-.NET/issues/2
og:image:altIf RandomOrgClient roc = RandomOrgClient.GetRandomOrgClient(YOUR_API_KEY_HERE); is executed without an active internet connection, the resulting exception is not handled by the surrounding try/catc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenandaccio
hostnamegithub.com
expected-hostnamegithub.com
Noneebfdf8d3e0fd17b103f41cc6696d84938694ebebdfecaf11fe00dbe4a9785801
turbo-cache-controlno-preview
go-importgithub.com/RandomOrg/JSON-RPC-.NET git https://github.com/RandomOrg/JSON-RPC-.NET.git
octolytics-dimension-user_id3757089
octolytics-dimension-user_loginRandomOrg
octolytics-dimension-repository_id394353906
octolytics-dimension-repository_nwoRandomOrg/JSON-RPC-.NET
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id394353906
octolytics-dimension-repository_network_root_nwoRandomOrg/JSON-RPC-.NET
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
release471ae8701b77c1bf177c58019d2e6fd65ae89141
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/issues/2#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FRandomOrg%2FJSON-RPC-.NET%2Fissues%2F2
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FRandomOrg%2FJSON-RPC-.NET%2Fissues%2F2
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=RandomOrg%2FJSON-RPC-.NET
Reloadhttps://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/issues/2
Reloadhttps://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/issues/2
Reloadhttps://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/issues/2
RandomOrg https://patch-diff.githubusercontent.com/RandomOrg
JSON-RPC-.NEThttps://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FRandomOrg%2FJSON-RPC-.NET
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2FRandomOrg%2FJSON-RPC-.NET
Star 2 https://patch-diff.githubusercontent.com/login?return_to=%2FRandomOrg%2FJSON-RPC-.NET
Code https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET
Issues 1 https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/issues
Pull requests 0 https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/pulls
Actions https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/actions
Projects 0 https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/projects
Security 0 https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/security
Insights https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/pulse
Code https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET
Issues https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/issues
Pull requests https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/pulls
Actions https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/actions
Projects https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/projects
Security https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/security
Insights https://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/RandomOrg/JSON-RPC-.NET/issues/2
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/RandomOrg/JSON-RPC-.NET/issues/2
Exceptions are not propagated properlyhttps://patch-diff.githubusercontent.com/RandomOrg/JSON-RPC-.NET/issues/2#top
https://github.com/nandaccio
https://github.com/nandaccio
nandacciohttps://github.com/nandaccio
on Aug 22, 2025https://github.com/RandomOrg/JSON-RPC-.NET/issues/2#issue-3345097234
https://private-user-images.githubusercontent.com/13116598/480900195-8d531535-3bc0-4fb7-9daa-2a7e3acadb06.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzAxMjE3ODAsIm5iZiI6MTc3MDEyMTQ4MCwicGF0aCI6Ii8xMzExNjU5OC80ODA5MDAxOTUtOGQ1MzE1MzUtM2JjMC00ZmI3LTlkYWEtMmE3ZTNhY2FkYjA2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjAzVDEyMjQ0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVjMzkwODYwOTU3ZGE4ODFiNzc1NzA0MWVhNGYyNjIyYWVlNmNjNmQ4NDM2ZjQxZTYzNjgxNDNjYzNiMTVmNTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.bSn-GlJDolRSLQ0LS6tRQBTeNjTZL6ndgWzhDgv-Pvw
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.