mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2025-12-22 07:54:18 +01:00
Backtest errors returned in try-catch.
This commit is contained in:
@@ -196,6 +196,8 @@ class BackendAPIClient:
|
||||
}
|
||||
response = requests.post(url, json=payload)
|
||||
backtesting_results = response.json()
|
||||
if "error" in backtesting_results:
|
||||
raise Exception(backtesting_results["error"])
|
||||
if "processed_data" not in backtesting_results:
|
||||
data = None
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user