We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd69bec commit 694752eCopy full SHA for 694752e
ajet/utils/testing_utils.py
@@ -102,13 +102,17 @@ def send_test_result(
102
"append_log": append_log or "",
103
"data_dashboard_url": data_dashboard_url or "",
104
}
105
- resp = requests.post(
106
- r"https://benchmark-report.agent-matrix.com/report_test_result",
107
- json=payload,
108
- timeout=timeout,
109
- )
110
- resp.raise_for_status()
111
- return resp.json()
+ try:
+ resp = requests.post(
+ r"https://benchmark-report.agent-matrix.com/report_test_result",
+ json=payload,
+ timeout=timeout,
+ )
+ resp.raise_for_status()
112
+ return resp.json()
113
+ except:
114
+ logger.error("Unable to report to benchmark server.")
115
+ return {}
116
117
118
def populate_test_env_metadata(workspace_dir: str) -> tuple[str, str]:
0 commit comments