Spaces:
Sleeping
Sleeping
Commit
·
89a4057
1
Parent(s):
b476e3c
adds logging to logdb
Browse files- validators/database.py +1 -0
validators/database.py
CHANGED
|
@@ -29,6 +29,7 @@ class LogDatabase:
|
|
| 29 |
await self.append_dicts_to_file(
|
| 30 |
self.log_database_path, stream_responses_dict
|
| 31 |
)
|
|
|
|
| 32 |
except Exception as e:
|
| 33 |
bt.logging.error(f"Error while adding streams to the database: {e}")
|
| 34 |
raise e
|
|
|
|
| 29 |
await self.append_dicts_to_file(
|
| 30 |
self.log_database_path, stream_responses_dict
|
| 31 |
)
|
| 32 |
+
bt.logging.success("Streams added to the database.")
|
| 33 |
except Exception as e:
|
| 34 |
bt.logging.error(f"Error while adding streams to the database: {e}")
|
| 35 |
raise e
|