'using sys.exit() and heroku threw an error

2022-02-21T01:07:54.352381+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=_botname.herokuapp.com request_id=88df74f6-a5a1-4ee9-a0a5-c98a22a60949 fwd="115.66.143.26" dyno= connect= service= status=503 bytes= protocol=https
2022-02-21T01:07:54.988568+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=_botname.herokuapp.com request_id=5d73238d-8ee6-42d0-a010-997a073d06e9 fwd="115.66.143.26" dyno= connect= service= status=503 bytes= protocol=https

- Got this error when using sys.exit(26) (trying to restart bot)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source