Skip to content

Commit

Permalink
fix messages
Browse files Browse the repository at this point in the history
  • Loading branch information
upvest-mike committed Oct 14, 2024
1 parent 380bc91 commit 2415a11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions service/runtime/tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ func (e *tunnel) pullEvents(ctx context.Context, endpointID string) error {
}
filtered := origLen != filteredLen

e.logger.PrintLn(cyan("== new incoming webhook request"))
e.logger.PrintLn(cyan("== new webhook event received == "))
e.logger.PrintLn(cyan("== received at: %s", item.CreatedAt.Format(time.DateTime)))
if e.logHeaders {
e.printHeaders(item, filtered)
}
payloadMessage := "== payload"
payloadMessage := ""
if filtered {
payloadMessage += fmt.Sprintf(" was filtered: origin events: %d, filtered events: %d)", origLen, filteredLen)
}
Expand Down
6 changes: 3 additions & 3 deletions service/runtime/tunnels.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ func (e *Tunnels) Start(userCredentialsCh chan UserCredentials) {
return
}

e.logger.PrintLn(cyan("############################################################"))
e.logger.PrintLn(cyan("To start listening webhook events - send /auth/token request"))
e.logger.PrintLn(cyan("############################################################"))
e.logger.PrintLn(cyan("###############################################################"))
e.logger.PrintLn(cyan("To start event listener, send an auth request: POST /auth/token"))
e.logger.PrintLn(cyan("###############################################################"))

for {
select {
Expand Down

0 comments on commit 2415a11

Please sign in to comment.