aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/services/errors.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--services/errors.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/errors.go b/services/errors.go
index 7a441778..19bfebca 100644
--- a/services/errors.go
+++ b/services/errors.go
@@ -85,7 +85,7 @@ func DetermineErrorCode(err error, serviceError Error) (bool, uint32) {
func CombineErrors(err error, serviceError Error) error {
if serviceError != ErrorSuccess {
if err != nil {
- return fmt.Errorf("%v: %v", serviceError, err)
+ return fmt.Errorf("%v: %w", serviceError, err)
}
return serviceError
}