mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2024-12-22 00:36:41 +02:00
сделал Panicf
This commit is contained in:
parent
69f2d66861
commit
bf06f0a9f6
@ -44,7 +44,7 @@ func Connect() {
|
||||
err = Connect_err()
|
||||
|
||||
if err != nil {
|
||||
log.Fatalf("GRPC Connect() error: %v", err)
|
||||
log.Panicf("GRPC Connect() error: %v", err)
|
||||
} else {
|
||||
addr := Settings.SYNC_SERVICE_HOST + ":" + Settings.SYNC_SERVICE_PORT
|
||||
log.Info("GRPC client connected. Address: ", addr)
|
||||
|
@ -47,7 +47,7 @@ func Connect() {
|
||||
err = Connect_err()
|
||||
|
||||
if err != nil {
|
||||
log.Fatalf("NRPC Connect() error: %v", err)
|
||||
log.Panicf("NRPC Connect() error: %v", err)
|
||||
} else {
|
||||
NatsURL := "nats://" + Settings.NATS_HOST + ":" + Settings.NATS_PORT
|
||||
log.Info("GRPC client connected. Address: ", NatsURL)
|
||||
|
Loading…
Reference in New Issue
Block a user