Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #88 from mrepol742/master
Browse files Browse the repository at this point in the history
Initial Commit
  • Loading branch information
mrepol742 authored Mar 10, 2024
2 parents 8c10784 + c75f926 commit 822b53d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/redfox/src/eventListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,7 @@ function eventListener(defaultFuncs, api, ctx, globalCallback) {
mqttClient.on("close", function () {
utils.logged("fca_mqtt_client connection closed restarting now...");
mqttClient.end();
globalCallback(
{
type: "stop_listen",
error: "Connection refused: Server unavailable",
},
null
);
process.exit(0);
});
}

Expand Down

0 comments on commit 822b53d

Please sign in to comment.