Browse Source
Merge pull request #555 from dtm-labs/yedf2/handle-errors-for-save-new
Handle errors for save new
main
yedf2
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
dtmsvr/api.go
|
|
|
@ -36,6 +36,8 @@ func svcSubmit(t *TransGlobal) interface{} { |
|
|
|
} else if dbt.Status != dtmcli.StatusSubmitted { |
|
|
|
return fmt.Errorf("current status '%s', cannot sumbmit. %w", dbt.Status, dtmcli.ErrFailure) |
|
|
|
} |
|
|
|
} else if err != nil { |
|
|
|
return err |
|
|
|
} |
|
|
|
return t.Process(branches) |
|
|
|
} |
|
|
|
|