Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue issue 242 (https://github.com/UpstreamData/pyasic/issues/242) #247

Open
Awote opened this issue Dec 5, 2024 · 1 comment
Open

Comments

@Awote
Copy link

Awote commented Dec 5, 2024

Is your feature request related to a problem? Please describe.
The problem with update pools in Bos miners.
The problem here

        boser_cfg = config.as_boser(user_suffix=user_suffix)
        for key in boser_cfg:
            await self.web.send_command(key, message=boser_cfg[key])

it fall down when i send power mode

Describe the solution you'd like
First idea:
The easiest way is add try catch in send_config.
Second idea:
Add choose what parameter of configurtion can i send.

@b-rowan
Copy link
Collaborator

b-rowan commented Dec 9, 2024

I would rather fix the underlying issue rather than just catch the error, I think a user would rather know if there is an issue with the config rather than just send the rest of it.

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

No branches or pull requests

2 participants