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
parent
commit
4a663a1181
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      dtmsvr/api.go

2
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)
}

Loading…
Cancel
Save