Skip to content

Commit

Permalink
fix err panic on runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored Dec 31, 2024
1 parent 8a9a12a commit dbb6fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/proxy_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (instance *StreamInstance) ProxyStream(ctx context.Context, m3uIndex string
contextSleep(ctx)
case result.err != nil:
lastErr = time.Now()
utils.SafeLogf("Error reading stream: %s\n", err.Error())
utils.SafeLogf("Error reading stream: %s\n", result.err.Error())
returnStatus = 1
if timeoutSecond == 0 {
statusChan <- 1
Expand Down

0 comments on commit dbb6fc9

Please sign in to comment.