Improved payment handling
This commit is contained in:
@@ -58,9 +58,9 @@ func (i *Imp) Start() error {
|
||||
if broker != nil {
|
||||
opts = append(opts, orchestrator.WithPaymentGatewayBroker(broker))
|
||||
}
|
||||
svc := orchestrator.NewService(logger, repo, opts...)
|
||||
svc, err := orchestrator.NewService(logger, repo, opts...)
|
||||
i.service = svc
|
||||
return svc, nil
|
||||
return svc, err
|
||||
}
|
||||
|
||||
app, err := grpcapp.NewApp(i.logger, "payments.orchestrator", cfg.Config, i.debug, repoFactory, serviceFactory)
|
||||
|
||||
Reference in New Issue
Block a user