-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I'm trying to use the sample code where the following is done :
monitor.on('health:report', function(reporter, pc) {
var statistics = [];
console.log(reporter.id);
console.log(reporter.isActive() ? 'Connection is active' : 'Connection is inactive');
var channels = reporter.getChannelReports();
for (var i = 0; i < channels.length; i++) {
var report = channels[i];
console.log(report.toJSON());
}
});
But I get the following error
reportToObject is not defined
And indeed when searching in the repository I see it called here :
Line 178 in 45a3972
result.connection = reportToObject(this.connection); |
But it doesn't seem to be defined anywhere.
Metadata
Metadata
Assignees
Labels
No labels