Skip to content

Commit

Permalink
fix: error unhandle
Browse files Browse the repository at this point in the history
  • Loading branch information
kenriortega committed Nov 14, 2021
1 parent 2981d92 commit 24c8338
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/otelp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main
import (
"context"
"fmt"
"log"
"math/rand"
"net/http"
"time"
Expand Down Expand Up @@ -39,7 +40,7 @@ func main() {
server := instrumentedServer(handler)

fmt.Println("listening...")
server.ListenAndServe()
log.Fatal(server.ListenAndServe())
}

func handler(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit 24c8338

Please sign in to comment.