mirror of
https://github.com/openziti/zrok.git
synced 2025-08-19 12:24:37 +02:00
create frontend handler (#129)
This commit is contained in:
@@ -90,9 +90,9 @@ func (h *shareHandler) Handle(params service.ShareParams, principal *rest_model_
|
||||
}, tx)
|
||||
if err != nil {
|
||||
logrus.Errorf("error creating service record: %v", err)
|
||||
_ = tx.Rollback()
|
||||
return service.NewShareInternalServerError()
|
||||
}
|
||||
|
||||
if err := tx.Commit(); err != nil {
|
||||
logrus.Errorf("error committing service record: %v", err)
|
||||
return service.NewShareInternalServerError()
|
||||
|
Reference in New Issue
Block a user