Trying some debugging
This commit is contained in:
parent
09d875a9f6
commit
f548495813
|
@ -760,6 +760,7 @@ func fetchLatestStreamStatus(ctx context.Context, conn db.ConnOrTx, twitchID str
|
||||||
twitchID,
|
twitchID,
|
||||||
)
|
)
|
||||||
if err == db.NotFound {
|
if err == db.NotFound {
|
||||||
|
twitchLog(ctx, conn, models.TwitchLogTypeOther, twitchLogin, "Creating new streamer", fmt.Sprintf("twitchID: %s", twitchID))
|
||||||
_, err = conn.Exec(ctx,
|
_, err = conn.Exec(ctx,
|
||||||
`
|
`
|
||||||
INSERT INTO twitch_latest_status (twitch_id, twitch_login)
|
INSERT INTO twitch_latest_status (twitch_id, twitch_login)
|
||||||
|
|
Loading…
Reference in New Issue