prediction-market-agent-tooling 0.64.7__py3-none-any.whl → 0.64.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- prediction_market_agent_tooling/loggers.py +6 -3
- {prediction_market_agent_tooling-0.64.7.dist-info → prediction_market_agent_tooling-0.64.8.dist-info}/METADATA +1 -1
- {prediction_market_agent_tooling-0.64.7.dist-info → prediction_market_agent_tooling-0.64.8.dist-info}/RECORD +6 -6
- {prediction_market_agent_tooling-0.64.7.dist-info → prediction_market_agent_tooling-0.64.8.dist-info}/LICENSE +0 -0
- {prediction_market_agent_tooling-0.64.7.dist-info → prediction_market_agent_tooling-0.64.8.dist-info}/WHEEL +0 -0
- {prediction_market_agent_tooling-0.64.7.dist-info → prediction_market_agent_tooling-0.64.8.dist-info}/entry_points.txt +0 -0
@@ -69,13 +69,16 @@ def _handle_exception(
|
|
69
69
|
sys.__excepthook__(exc_type, exc_value, exc_traceback)
|
70
70
|
return
|
71
71
|
|
72
|
-
|
72
|
+
exp_details: BaseException | None = exc_value
|
73
73
|
if isinstance(exc_value, RetryError):
|
74
74
|
# In case of RetryError from tenacity, add last attempt's exp to the log, otherwise we won't see the exception's message in the logs.
|
75
|
-
|
75
|
+
exp_details = exc_value.last_attempt.exception()
|
76
76
|
|
77
77
|
logger.error(
|
78
|
-
f
|
78
|
+
# Do not use f-string here, loguru internally calls `message.format(*args, **kwargs)` and in case you put {} into the message (for example, dict-formatted exception from evm),
|
79
|
+
# it would throw an error.
|
80
|
+
"Uncaught exception: {exp_details}",
|
81
|
+
exp_details=exp_details,
|
79
82
|
exc_info=(exc_type, exc_value, exc_traceback),
|
80
83
|
)
|
81
84
|
|
@@ -35,7 +35,7 @@ prediction_market_agent_tooling/gtypes.py,sha256=bUIZfZIGvIi3aiZNu5rVE9kRevw8sfM
|
|
35
35
|
prediction_market_agent_tooling/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
36
36
|
prediction_market_agent_tooling/jobs/jobs_models.py,sha256=8vYafsK1cqMWQtjBoq9rruroF84xAVD00vBTMWH6QMg,2166
|
37
37
|
prediction_market_agent_tooling/jobs/omen/omen_jobs.py,sha256=Pf6QxPXGyie-2l_wZUjaGPTjZTlpv50_JhP40mULBaU,5048
|
38
|
-
prediction_market_agent_tooling/loggers.py,sha256=
|
38
|
+
prediction_market_agent_tooling/loggers.py,sha256=hF_n-E5iMSqh3dY5G6LkQRHyReMYGPNTLu82dDFh1PU,5187
|
39
39
|
prediction_market_agent_tooling/markets/agent_market.py,sha256=1NomilM0GCXcRq_1N_cr2AbSK5ONTowFeRbrhc7V5zE,14929
|
40
40
|
prediction_market_agent_tooling/markets/base_subgraph_handler.py,sha256=7RaYO_4qAmQ6ZGM8oPK2-CkiJfKmV9MxM-rJlduaecU,1971
|
41
41
|
prediction_market_agent_tooling/markets/blockchain_utils.py,sha256=qm21scopQ6dfewkoqQF6lWLDGg2BblsKUdC9aG93Hmc,2249
|
@@ -124,8 +124,8 @@ prediction_market_agent_tooling/tools/tokens/usd.py,sha256=yuW8iPPtcpP4eLH2nORMD
|
|
124
124
|
prediction_market_agent_tooling/tools/transaction_cache.py,sha256=K5YKNL2_tR10Iw2TD9fuP-CTGpBbZtNdgbd0B_R7pjg,1814
|
125
125
|
prediction_market_agent_tooling/tools/utils.py,sha256=AC2a68jwASMWuQi-w8twl8b_M52YwrEJ81abmuEaqMY,6661
|
126
126
|
prediction_market_agent_tooling/tools/web3_utils.py,sha256=zRq-eeBGWt8uUGN9G_WfjmJ0eVvO8aWE9S0Pz_Y6AOA,12342
|
127
|
-
prediction_market_agent_tooling-0.64.
|
128
|
-
prediction_market_agent_tooling-0.64.
|
129
|
-
prediction_market_agent_tooling-0.64.
|
130
|
-
prediction_market_agent_tooling-0.64.
|
131
|
-
prediction_market_agent_tooling-0.64.
|
127
|
+
prediction_market_agent_tooling-0.64.8.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
|
128
|
+
prediction_market_agent_tooling-0.64.8.dist-info/METADATA,sha256=NEiPMBJEt61q5jM2VBpVWM6cvyRnokWZXiMOpVuKBk4,8741
|
129
|
+
prediction_market_agent_tooling-0.64.8.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
130
|
+
prediction_market_agent_tooling-0.64.8.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
|
131
|
+
prediction_market_agent_tooling-0.64.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|