Add AdminRanks prefix to logs related to adminranks

Add debug logs to API to figure out API issue with "missing" parameter
This commit is contained in:
Werner
2020-08-10 15:00:40 +02:00
parent a8bfac34ef
commit d2c886cb33
2 changed files with 23 additions and 18 deletions

View File

@@ -42,6 +42,7 @@
missing_params += param["name"]
if(errorcount)
log_debug("API: Request aborted. Required parameters missing")
log_debug("API: Received the following params: [json_encode(queryparams)]")
statuscode = 400
response = "Required params missing"
data = missing_params