All error messages in german and in englisch

This commit is contained in:
rxf
2023-05-09 15:37:27 +02:00
parent 2cf418756d
commit 347c6bdc96
17 changed files with 1007 additions and 243 deletions
+1 -2
View File
@@ -33,8 +33,7 @@ export const influxRead = async (query) => {
timeout: 10000,
})
if (ret.status !== 200) {
let error = ERR.RESPSTATUS.replace('xx',ret.status)
return returnOnError(erg, error, influxRead.name)
return returnOnError(erg, RESPSTATUS, influxRead.name, ret.status)
}
erg.values = ret.data
} catch (e) {