pyasic
pyasic copied to clipboard
Continue issue 242 (https://github.com/UpstreamData/pyasic/issues/242)
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.
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.