This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-client-go.git
The following commit(s) were added to refs/heads/master by this push:
new fa7fa7e fix: Fix problematic error returns (#164)
fa7fa7e is described below
commit fa7fa7e488631cfbbcd187aace0adb8b4ca316cd
Author: cui fliter <[email protected]>
AuthorDate: Sun Mar 9 12:21:27 2025 +0800
fix: Fix problematic error returns (#164)
Signed-off-by: cuishuang <[email protected]>
---
wski18n/i18n_resources.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wski18n/i18n_resources.go b/wski18n/i18n_resources.go
index 5c90b02..b7cbf7f 100644
--- a/wski18n/i18n_resources.go
+++ b/wski18n/i18n_resources.go
@@ -57,7 +57,7 @@ func bindataRead(data []byte, name string) ([]byte, error) {
return nil, fmt.Errorf("Read %q: %v", name, err)
}
if clErr != nil {
- return nil, err
+ return nil, clErr
}
return buf.Bytes(), nil