Skip to content

Commit dec24a4

Browse files
author
Oleg Sucharevich
committed
return the original message in case registration of runtime is failed
1 parent 550241e commit dec24a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.17.0
1+
0.18.0

pkg/codefresh/runtime_enrionment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func (r *runtimeEnvironment) Create(opt *CreateRuntimeOptions) (*RuntimeEnvironm
137137
if resp.StatusCode < 400 {
138138
return re, nil
139139
}
140-
return nil, fmt.Errorf("Error during runtime environment creation")
140+
return nil, fmt.Errorf("Error during runtime environment creation, error: %s", err.Error())
141141
}
142142

143143
func (r *runtimeEnvironment) Validate(opt *ValidateRuntimeOptions) error {

0 commit comments

Comments
 (0)