Commit 439e0db
committed
fix(utils): log exceptions on stake and DRep operations
Updated `testnet_cleanup.py` to use `LOGGER.exception` instead of
`LOGGER.error` for better error traceability when re-registering or
deregistering stake addresses and retiring DReps.
Changes:
- Replaced `LOGGER.error` with `LOGGER.exception` in three functions:
`reregister_stake_addr`, `deregister_stake_addr`, and `retire_drep`.
This improves debugging by including stack traces in the logs.1 parent 8b49a4c commit 439e0db
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
0 commit comments