Skip to content

Commit

Permalink
fix: handle unavailable tagger client in AutoTaggingArtwork function
Browse files Browse the repository at this point in the history
  • Loading branch information
krau committed Jan 25, 2025
1 parent bfd1591 commit 856661a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions telegram/handlers/admin_edit_artwork.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ func AutoTaggingArtwork(ctx context.Context, bot *telego.Bot, message telego.Mes
}
if common.TaggerClient == nil {
utils.ReplyMessage(bot, message, "Tagger is not available")
return
}
var sourceURL string
var findUrlInArgs bool
Expand Down

0 comments on commit 856661a

Please sign in to comment.