Skip to content

Commit

Permalink
Fix: Continue calculating if embodied not found
Browse files Browse the repository at this point in the history
It shoudn't stop the handler from performing operational
emission calculations, for now.
  • Loading branch information
gabibeyer committed May 8, 2024
1 parent 09d17bd commit d5544fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/calculator/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ func (c *CalculatorHandler) handleEvent(e *bus.Event) {
specs, ok := factor.Embodied[instance.Kind]
if !ok {
c.logger.Error("failed finding instance in factor data", "instance", instance.Name, "kind", instance.Kind)
return
}

params := &parameters{
Expand Down

0 comments on commit d5544fb

Please sign in to comment.