ibp-network / ibp-monitor

15 stars 10 forks source link

0.1.0: receiving a healthcheck for new services crashes the monitor #74

Closed dcolley closed 1 year ago

dcolley commented 1 year ago

If there are no entries for let memberService = await ds.MemberService.findOne({ where: { serviceId: service.id } }) then the subsequent await ds.HealthCheck.create(result) crashes the monitor.