Closed s1113950 closed 1 month ago
Throwing an error and then returning fmt.Errorf("custom err msg") is masking the underlying err and making it harder to debug why "custom err msg" happened. This change keeps the "custom err msg" but passes through the original error that happened!
Implemented in PR#1385
Throwing an error and then returning fmt.Errorf("custom err msg") is masking the underlying err and making it harder to debug why "custom err msg" happened. This change keeps the "custom err msg" but passes through the original error that happened!