uber-go / cadence-client

Framework for authoring workflows and activities running on top of the Cadence orchestration engine.
https://cadenceworkflow.io
MIT License
345 stars 131 forks source link

Refactor failed heartbeats log #1273

Closed jakobht closed 1 year ago

jakobht commented 1 year ago

What changed? Refactored the type check to use modern Go

What changed? In modern go typecasting errors is sometimes not correct as they might be wrapped, the errors.As method is aware of this and checks all wrapped errors

How did you test it? Tested locally

Potential risks Worst case we log too much/too little