AstraOS Ver. 1.42:
All checks were successful
Deploy AstraOS Panel / deploy (push) Successful in 11s

- Logging zum Tracker hinzugefügt
This commit is contained in:
elias 2026-06-07 14:08:44 +02:00
parent d12204a726
commit 0b414b0900

View file

@ -1543,6 +1543,11 @@ def get_valorant_stats(name, tag):
match_mode = request.args.get('mode', 'competitive')
headers = {"Authorization": VALORANT_API_KEY}
try:
add_log("Spielersuche durchgeführt", f"Spieler gesucht: {name}#{tag}")
except Exception as e:
print(f"Fehler beim Loggen der Spielersuche: {e}")
try:
# 1. Account Basis-Daten
acc_res = requests.get(f"{VALORANT_API_BASE}/v1/account/{name}/{tag}?force=true", headers=headers, timeout=10)