File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,15 @@ func (s *Service) do(op sdk.Operation) error {
42
42
// Load workflow as code file
43
43
case op .Setup .Checkout .Branch != "" :
44
44
8000
td> if err := s .processCheckout (& op ); err != nil {
45
- op .Error = err .Error ()
45
+ op .Error = sdk . Cause ( err ) .Error ()
46
46
op .Status = sdk .OperationStatusError
47
47
} else {
48
48
op .Error = ""
49
49
op .Status = sdk .OperationStatusDone
50
50
switch {
51
51
case op .LoadFiles .Pattern != "" :
52
52
if err := s .processLoadFiles (& op ); err != nil {
53
- op .Error = err .Error ()
53
+ op .Error = sdk . Cause ( err ) .Error ()
54
54
op .Status = sdk .OperationStatusError
55
55
} else {
56
56
op .Error = ""
@@ -64,7 +64,7 @@ func (s *Service) do(op sdk.Operation) error {
64
64
// Push workflow as code file
65
65
case op .Setup .Push .FromBranch != "" :
66
66
if err := s .processPush (& op ); err != nil {
67
- op .Error = err .Error ()
67
+ op .Error = sdk . Cause ( err ) .Error ()
68
68
op .Status = sdk .OperationStatusError
69
69
} else
3CA8
{
70
70
op .Error = ""
You can’t perform that action at this time.
0 commit comments