Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c934a748f |
@@ -41,7 +41,11 @@ class NatsManager {
|
||||
|
||||
// Handle connection close events
|
||||
this.nc.closed().then((err) => {
|
||||
if (err) {
|
||||
log("ERROR", `NATS: Connection closed: ${err}`);
|
||||
} else {
|
||||
log("INFO", "NATS: Connection ended")
|
||||
}
|
||||
this.nc = null;
|
||||
this.js = null;
|
||||
this.kv = null;
|
||||
|
||||
Reference in New Issue
Block a user