All error messages in german and in englisch
This commit is contained in:
+1
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user