go-telegram-bot-api / telegram-bot-api

Golang bindings for the Telegram Bot API
https://go-telegram-bot-api.dev
MIT License
5.62k stars 868 forks source link

Use log.Fatal instead of panic in docs #599

Closed alexandear closed 1 year ago

alexandear commented 1 year ago

This PR replaces all the usages panic(err), log.Panic(err) with log.Fatal(err) in the documentation for the sake of consistency.

codecov[bot] commented 1 year ago

Codecov Report

Base: 45.25% // Head: 45.25% // No change to project coverage :thumbsup:

Coverage data is based on head (1f73854) compared to base (4126fa6). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #599 +/- ## ======================================= Coverage 45.25% 45.25% ======================================= Files 7 7 Lines 1613 1613 ======================================= Hits 730 730 Misses 826 826 Partials 57 57 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-telegram-bot-api). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-telegram-bot-api)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.