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: github.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:1a6987c3-e071-22f7-0583-157642766cd2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8258:59D68:77DA8:A0435:69826646
html-safe-noncef8552dfa2b0a0240f74be4d056caefb7c89ba2d423308050926057b953e6fe66
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjU4OjU5RDY4Ojc3REE4OkEwNDM1OjY5ODI2NjQ2IiwidmlzaXRvcl9pZCI6Ijc5Mjk0MDY2MDgzMzYxMTkzNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb18f1eac90096428242f08966c7d03359e620141d6c5afc5a094dda4bebfb671
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
Noned8cbbf00e6212b4e561a1d6db613194a319d58a2967494f7cc81cf6da3fbb985
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
releaseb83d89864fafc7a67b8747b788f52c909d47dbfd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RandomOrg/JSON-RPC-.NET/issues/2#start-of-content
https://github.com/
Sign in https://github.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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRandomOrg%2FJSON-RPC-.NET%2Fissues%2F2
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=RandomOrg%2FJSON-RPC-.NET
Reloadhttps://github.com/RandomOrg/JSON-RPC-.NET/issues/2
Reloadhttps://github.com/RandomOrg/JSON-RPC-.NET/issues/2
Reloadhttps://github.com/RandomOrg/JSON-RPC-.NET/issues/2
RandomOrg https://github.com/RandomOrg
JSON-RPC-.NEThttps://github.com/RandomOrg/JSON-RPC-.NET
Notifications https://github.com/login?return_to=%2FRandomOrg%2FJSON-RPC-.NET
Fork 0 https://github.com/login?return_to=%2FRandomOrg%2FJSON-RPC-.NET
Star 2 https://github.com/login?return_to=%2FRandomOrg%2FJSON-RPC-.NET
Code https://github.com/RandomOrg/JSON-RPC-.NET
Issues 1 https://github.com/RandomOrg/JSON-RPC-.NET/issues
Pull requests 0 https://github.com/RandomOrg/JSON-RPC-.NET/pulls
Actions https://github.com/RandomOrg/JSON-RPC-.NET/actions
Projects 0 https://github.com/RandomOrg/JSON-RPC-.NET/projects
Security 0 https://github.com/RandomOrg/JSON-RPC-.NET/security
Insights https://github.com/RandomOrg/JSON-RPC-.NET/pulse
Code https://github.com/RandomOrg/JSON-RPC-.NET
Issues https://github.com/RandomOrg/JSON-RPC-.NET/issues
Pull requests https://github.com/RandomOrg/JSON-RPC-.NET/pulls
Actions https://github.com/RandomOrg/JSON-RPC-.NET/actions
Projects https://github.com/RandomOrg/JSON-RPC-.NET/projects
Security https://github.com/RandomOrg/JSON-RPC-.NET/security
Insights https://github.com/RandomOrg/JSON-RPC-.NET/pulse
New issuehttps://github.com/login?return_to=https://github.com/RandomOrg/JSON-RPC-.NET/issues/2
New issuehttps://github.com/login?return_to=https://github.com/RandomOrg/JSON-RPC-.NET/issues/2
Exceptions are not propagated properlyhttps://github.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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzAxNTM4NDIsIm5iZiI6MTc3MDE1MzU0MiwicGF0aCI6Ii8xMzExNjU5OC80ODA5MDAxOTUtOGQ1MzE1MzUtM2JjMC00ZmI3LTlkYWEtMmE3ZTNhY2FkYjA2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjAzVDIxMTkwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQwNTc5YWNiZTAzODc4MTFiNjBhODU5Y2E0OTJlODNkN2UzNGNiZDRjZDM1MTA0NDM3YjQzNjlmMzI1NjRlOTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Gv6CB03-uTw4st9ixCZtzO9ecBurDyQ33JAbTQEwekw
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.