Skip to content

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

Open
bugy855 wants to merge 1 commit intoUpstreamData:masterfrom
bugy855:fix/stop-bt-miner-process-is-down-err-from-blocking-get-data-method
Open

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

Conversation

@bugy855
Copy link

@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.

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.

1 participant

Comments