Skip to content

Commit

Permalink
Fix (once again) wrong example of MQTT URLs...
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Aug 13, 2023
1 parent 6f19816 commit 9689681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eda-modbus-bridge.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const argv = yargs(process.argv.slice(2))
// Optionally create MQTT client
if (argv.mqttBrokerUrl !== undefined) {
if (!validateBrokerUrl(argv.mqttBrokerUrl)) {
logger.error(`Malformed MQTT broker URL: ${argv.mqttBrokerUrl}. Should be e.g. tcp://localhost:1883.`)
logger.error(`Malformed MQTT broker URL: ${argv.mqttBrokerUrl}. Should be e.g. mqtt://localhost:1883.`)
} else {
logger.info(`Connecting to MQTT broker at ${argv.mqttBrokerUrl}`)

Expand Down

0 comments on commit 9689681

Please sign in to comment.