This commit is contained in:
2023-05-23 12:47:08 +02:00
parent 07f80924fd
commit 07efa32acb
3 changed files with 54 additions and 10 deletions

View File

@ -66,7 +66,7 @@ class DbOp(object):
return application
except Exception as e:
logger.error(f"Error getting variable: {e}")
raise VariableNotFoundException(appId)
raise VariableNotFoundException(appId, converterId, deviceId, variableId)
finally:
if conn:
conn.close()
@ -155,8 +155,7 @@ REQUIRED_CONFIG_OPTIONS = [
'MQTT_PASSWORD',
'MQTT_BROKER',
'MQTT_PORT',
'MQTT_CA',
'APPLICATION_TENANT'
'MQTT_CA'
]
config = {}