Skip to content

Commit

Permalink
use correct logger
Browse files Browse the repository at this point in the history
Co-authored-by: Joscha Henningsen <[email protected]>
  • Loading branch information
Mjaethers and joschahenningsen authored Jan 19, 2024
1 parent 762d0d3 commit e899e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (r mainRoutes) WatchPage(c *gin.Context) {
// Check if user wants to skip first silence
autoSkip, err := tumLiveContext.User.GetAutoSkipEnabled()
if err != nil {
log.Printf("Couldn't decode user setting: %v\n", err)
logger.Error("Couldn't decode user setting", "err", err)
} else if autoSkip.Enabled {
// The length of the stream may mismatch with the length of the video if it is a self-stream
if tumLiveContext.Stream.LectureHallID != 0 {
Expand Down

0 comments on commit e899e52

Please sign in to comment.