added getting data for bmminer and cgminer

This commit is contained in:
UpstreamData
2022-05-05 11:19:11 -06:00
parent a13f5dd2d1
commit 64b5e6c032
4 changed files with 167 additions and 8 deletions

View File

@@ -46,13 +46,13 @@ class BaseMiner:
)
return conn
except Exception as e:
logging.warning(f"{self} raised an exception: {e}")
# logging.warning(f"{self} raised an exception: {e}")
raise e
except OSError:
logging.warning(f"Connection refused: {self}")
return None
except Exception as e:
logging.warning(f"{self} raised an exception: {e}")
# logging.warning(f"{self} raised an exception: {e}")
raise e
async def send_file(self, src, dest):