Skip to content

Commit

Permalink
fix: add logging to show when subscribed servers are unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Jun 8, 2022
1 parent 59722ae commit 93e592b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/models/organizations/organizations.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,10 @@ class Organization extends Model {
if (!exists) {
if (serverAvailable(org.ip, org.port)) {
Organization.importOrganization(org.orgUid, org.ip, org.port);
} else {
logger.warn(
`${org.orgUid} can not be detected at ${org.ip}:${org.port}, skipping import...`,
);
}
}
}),
Expand Down

0 comments on commit 93e592b

Please sign in to comment.