feat: small change

This commit is contained in:
=
2025-02-26 20:45:40 +05:30
parent c16a4e00d8
commit 44f74e4d12
+2 -2
View File
@@ -72,8 +72,8 @@ var gatewayCmd = &cobra.Command{
time.Sleep(5 * time.Second)
continue
}
if err := gatewayInstance.Listen(ctx); err == nil {
err = gatewayInstance.Listen(ctx)
if err == nil {
// meaning everything went smooth and we are exiting
return
}