Skip to content

stop 'btminer process is down err' from blocking get data process#416

Merged
b-rowan merged 1 commit intoUpstreamData:masterfrom
bugy855:fix/stop-bt-miner-process-is-down-err-from-blocking-get-data-method
Mar 26, 2026
Merged

stop 'btminer process is down err' from blocking get data process#416
b-rowan merged 1 commit intoUpstreamData:masterfrom
bugy855:fix/stop-bt-miner-process-is-down-err-from-blocking-get-data-method

Conversation

@bugy855
Copy link
Copy Markdown
Contributor

@bugy855 bugy855 commented Feb 19, 2026

Sometimes I found that btminers will return 'btminer process is down err' when getting pool config information, when this happens an exception is thrown but not handled, causing the entire get data process to fail and for nothing to be returned. I have added the TypeError exception type to the except statement to catch and handle the instance where rpc_pools["pools"] fails due to rpc_pools being the string 'btminer process is down err' in this scenario.

@bugy855
Copy link
Copy Markdown
Contributor Author

bugy855 commented Mar 26, 2026

@b-rowan are you able to take a look at these changes?

@b-rowan b-rowan merged commit 5a804ca into UpstreamData:master Mar 26, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants