A better error message when the gateway is not configured for automatic re-configuration. Currently it logs "apply gateway-configuration error: gateway does not exist".
What happened?
The error log is confusing.
What version are your using?
Reproducible in latest version.
How can your issue be reproduced?
Send a .../command/config message when no [[backend.semtech_udp.configuration]] section is present in the lora-gateway-bridge.toml file.
Could you share your log output?
may 24 15:39:31 localhost lora-gateway-bridge[22056]: time="2019-05-24T15:39:31-03:00" level=error msg="apply gateway-configuration error" error="gateway does not exist"
Is this a bug or a feature request?
Improvement
What did you expect?
A better error message when the gateway is not configured for automatic re-configuration. Currently it logs "apply gateway-configuration error: gateway does not exist".
What happened?
The error log is confusing.
What version are your using?
Reproducible in latest version.
How can your issue be reproduced?
Send a
.../command/config
message when no[[backend.semtech_udp.configuration]]
section is present in thelora-gateway-bridge.toml
file.Could you share your log output?