We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46ec104 commit c4e4b5bCopy full SHA for c4e4b5b
mergin/client.py
@@ -1390,7 +1390,11 @@ def send_logs(
1390
url = "v2/diagnostic-logs" + "?" + urllib.parse.urlencode(params)
1391
use_server_api = True
1392
else:
1393
- url = MERGIN_DEFAULT_LOGS_URL + "?" + urllib.parse.urlencode(params)
+ if diagnostic_logs_url:
1394
+ url = diagnostic_logs_url + "?" + urllib.parse.urlencode(params)
1395
+ else:
1396
+ # fallback to default logs URL
1397
+ url = MERGIN_DEFAULT_LOGS_URL + "?" + urllib.parse.urlencode(params)
1398
1399
if meta is None:
1400
meta = "Python API Client\nSystem: {} \nMergin Maps URL: {} \nMergin Maps user: {} \n--------------------------------\n\n".format(
0 commit comments