Commit Graph

122 Commits (master)

Author SHA1 Message Date
Egg 32278bed15 fix logging 2023-06-30 13:30:32 +02:00
Egg d584cb7d79 improve sleep. add error logging to db 2023-06-22 08:14:30 +02:00
Egg 81d20bf67c less sleep pls 2023-05-24 17:56:59 +02:00
Egg 60df1dc9ad add missing import 2023-05-24 17:49:39 +02:00
Egg e362495437 Revert "Revert "decrease telegram timeout, add sleep for ratelimit""
This reverts commit 5e371768e3.
2023-05-24 17:49:06 +02:00
Egg 19def1ed31 Revert "decrease telegram timeout, add sleep for ratelimit"
This reverts commit c11c23d44e.
2023-05-24 17:36:35 +02:00
Egg 1acf567916 decrease telegram timeout, add sleep for ratelimit 2023-05-21 23:35:08 +02:00
Egg 1486c79645 telegrambot: add a polling timeout aka wait for a while 2023-02-21 10:16:21 +01:00
missytake feadd6ee29 skip if message is none 2021-04-04 11:31:13 +02:00
missytake 7b0d33a457 fixing attributeError, hopefully for good 2021-04-04 01:06:13 +02:00
missytake 27b79354e7 fix AttributeError 2021-04-02 17:33:26 +02:00
missytake 9fa6cde752 catch Mastodon Version errors 2020-07-29 21:45:16 +02:00
missytake 1293861b0a error handling and deployment 2020-07-27 01:14:59 +02:00
missytake 9a7eeef600 fix email Message parsing 2020-07-15 21:46:12 +02:00
missytake 26def0a845 twitter DMs don't work anyway 2020-07-15 20:56:45 +02:00
missytake 9b6c51ebd6 logging network errors 2020-06-16 19:05:07 +02:00
anon_user 0a30876f19 vmike read the docs & did some magic 2019-11-20 23:15:21 +01:00
anon_user c2df1d83f8 don't spam the log if the network is failing 2019-09-15 07:30:50 +02:00
anon_user bae6836800 Fixed shutdowns when Mastodon Errors can't get instance name 2019-09-14 12:12:16 +02:00
b3yond 6461a011e9 Merge pull request #106 from ticketfrei/masto502
More detailed Mastodon Server errors
2019-08-11 10:06:46 +02:00
b3yond 59f10c50f2 those errors are not unknown of course. 2019-08-09 15:29:51 +02:00
b3yond 87bca89efa added backtrace to general error message 2019-08-09 15:21:49 +02:00
b3yond e1d1bd91f8 fixing None TypeError 2019-08-09 14:41:14 +02:00
b3yond 4f5f63b20f logging telegram messages for debug purposes 2019-08-09 14:35:01 +02:00
b3yond 6686833ab5 ... sending text reports should of course be allowed. 2019-08-09 12:24:09 +02:00
Enno G 86af9e9a9f Change to hasattr 2019-07-22 20:51:49 +02:00
SchoolGuy b6b3aa5bfc Check if the text property is inside the message object. 2019-07-14 15:58:22 +02:00
b3yond 76d758d11c added the server URL to masto server errors 2019-07-08 23:09:32 +02:00
b3yond 981b4a787a more detailed Mastodon 5xx error messages 2019-07-08 23:04:33 +02:00
b3yond 87c263cb3f fixing import error 2019-05-17 20:42:13 +02:00
b3yond b379620765 Merge pull request #86 from ticketfrei/masto502
don't log Mastodon 502 errors.
2019-05-04 12:04:51 +02:00
b3yond 39dbfacf28 Merge pull request #93 from ticketfrei/images
Notify that telegram image reports are not supported. #90
2019-05-04 10:23:34 +02:00
sid 647d5c028c Update active_bots/telegrambot.py
Co-Authored-By: b3yond <b3yond@riseup.net>
2019-05-04 10:22:03 +02:00
b3yond 3ddc3b35a3 Notify that telegram image reports are not supported. #90 2019-05-03 14:35:06 +02:00
b3yond e66d167a0a don't log Mastodon 502 errors. 2019-05-03 10:07:16 +02:00
b3yond 35bbe5f075 fixed wrong exception 2019-02-19 16:16:21 +01:00
b3yond e36df6e740 Merge pull request #76 from ticketfrei/envs
Use environment variables for config values
2019-01-11 23:25:31 +01:00
b3yond 83d7dd91e6 no need for such a verbose error message. 2019-01-11 15:16:37 +01:00
b3yond 3590aa67a3 fixing shutdown when exim4 is not set up 2019-01-11 14:52:58 +01:00
git-sid 5c2ca271d6 Fix pep8 non-compliant linebreak 2019-01-07 19:05:39 +01:00
git-sid fe5c24d7fa Replace 3 dots with ellipsis to save space 2019-01-07 19:05:32 +01:00
b3yond 96b4975b1f fixing the original TypeError 2018-12-31 15:33:50 +01:00
b3yond be568b7827 when you get crashes bc of your log messages -. 2018-12-31 15:32:19 +01:00
b3yond 6a206f1c0f more verbose telegram error messages 2018-12-31 15:27:11 +01:00
b3yond 5e5429dcfe introduce extra var bc can't write to private attribute 2018-11-12 12:32:28 +01:00
b3yond 25b9108e7f updated example config options + 1 little fix 2018-11-06 08:56:24 +01:00
b3yond 7a7d405072 fix mailbot crash:
File "/srv/ticketfrei/active_bots/mailbot.py", line 37, in post
    if rec not in report.author:
TypeError: argument of type 'NoneType' is not iterable
2018-10-26 18:20:01 +02:00
b3yond 3d869e57ac added 502 to unlogged Telegram error codes 2018-10-26 17:27:00 +02:00
b3yond 75f508dcdf excepted return message 34 so it doesn't get logged #39 2018-10-11 22:22:37 +02:00
b3yond 87fe7c1d59 excepted with wrong Exception 2018-10-11 21:30:55 +02:00