Skip to content

Commit

Permalink
add log with args
Browse files Browse the repository at this point in the history
  • Loading branch information
MakMuftic committed May 29, 2024
1 parent e53c37b commit 13d6d9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"net/http"
"os"
"os/signal"
"strings"
"sync"
"syscall"
"time"
Expand Down Expand Up @@ -45,6 +46,8 @@ func main() {
c, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
defer stop()

fmt.Println(strings.Join(os.Args, ","))

app := &cli.App{
Name: "rpc-gateway",
Usage: "The failover proxy for node providers.",
Expand Down

0 comments on commit 13d6d9c

Please sign in to comment.