blockchain-insights / blockchain-data-subnet

Blockchain data insights
MIT License
13 stars 12 forks source link

Feat/logging playground #236

Closed renesweet24 closed 6 months ago

pamanseau commented 6 months ago

│ /root/blockchain-data-subnet/neurons/miners/bitcoin/funds_flow/indexer.py:19 │
│ 3 in <module>                                                                │
│                                                                              │
│   190 │   end_height_str = os.getenv('BITCOIN_INDEXER_END_BLOCK_HEIGHT', '-1 │
│   191 │   in_reverse_order_str = os.getenv('BITCOIN_INDEXER_IN_REVERSE_ORDER │
│   192 │                                                                      │
│ ❱ 193 │   logger.info("BITCOIN_INDEXER_IN_REVERSE_ORDER", in_reverse_order = │
│   194 │                                                                      │
│   195 │   if start_height_str is None:                                       │
│   196 │   │   logger.info("Please specify BITCOIN_INDEXER_START_BLOCK_HEIGHT │
│                                                                              │
│ /usr/lib/python3.9/logging/__init__.py:1442 in info                          │
│                                                                              │
│   1439 │   │   logger.info("Houston, we have a %s", "interesting problem", e │
│   1440 │   │   """                                                           │
│   1441 │   │   if self.isEnabledFor(INFO):                                   │
│ ❱ 1442 │   │   │   self._log(INFO, msg, args, **kwargs)                      │
│   1443 │                                                                     │
│   1444 │   def warning(self, msg, *args, **kwargs):                          │
│   1445 │   │   """                                                           │
╰──────────────────────────────────────────────────────────────────────────────╯
TypeError: _log() got an unexpected keyword argument 'in_reverse_order'```