Skip to content

Commit

Permalink
Add stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasss93 committed Jul 15, 2024
1 parent 293b20a commit 752be29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Jobs/OptimizeVideoStickerJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ public function handle(Nutgram $bot): void
reply_to_message_id: $this->replyID,
allow_sending_without_reply: true,
);

//save statistic
stats('video.optimized');
} catch (Throwable $e) {
report($e);
$bot->sendMessage(
Expand Down

0 comments on commit 752be29

Please sign in to comment.