From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [192.168.1.2] (unknown [101.128.125.209]) by gnuweeb.org (Postfix) with ESMTPSA id 96B5D7E24F; Sat, 24 Dec 2022 23:31:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1671924675; bh=M9ANWoK11RnX/eLN2Qd5TWvhcOc12u2eZuho/6hXBok=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=oWKhVn70x0AI2tZg9xOFtqntW9GG8c9TRdLSoEAxXeglM9YAX3t8KiIIkuj63v+G0 7Z21FOOCvbJuNhoJP/sTDNeGEKdd7ZHfAvebQmypivgXmhW4N5p+nJpQxuW0IxOMi9 wXOwOFRXDGz5HiF0zJFNMJmOE8AsmTusr7BgtzLDlkGG9BxEbXHmbV0MNOtTRv2lxG J89BGWPAqVc8qaVt+2qlesbhh4yc8zFchkIxbPda6bsygLv5LHm3tqL6CDCCz0tEf9 r6R5tCRdJFi7/lj70zG7OoViSWxiKMbLRKrY4GmnzE8xOEMyIJK32lBTGc7GXSG43Y LJ5F2+ZOOWdPw== Message-ID: <489c62e6-b61f-61b9-8209-f098c8eb900d@gnuweeb.org> Date: Sun, 25 Dec 2022 06:31:10 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v4 00/17] Fix, improvement and implement a bot logger. Content-Language: en-US To: Ammar Faizi Cc: Alviro Iskandar Setiawan , GNU/Weeb Mailing List References: <20221221013347.1704-1-kiizuha@gnuweeb.org> <09cf5444-3e42-9e58-ecf0-a4b21e5da953@gnuweeb.org> From: Muhammad Rizki In-Reply-To: <09cf5444-3e42-9e58-ecf0-a4b21e5da953@gnuweeb.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: On 25/12/2022 04.09, Ammar Faizi wrote: > On 12/25/22 4:05 AM, Ammar Faizi wrote: >> On 12/21/22 8:33 AM, Muhammad Rizki wrote: >>> Hi sir, it's been a long time. >>> >>> This is a v4 revision of fix, improvement and implement a bot logger. >>> this series is to improve create_template() caption substr/trim, >>> prepare_patch() for the .patch file payload, remove unrelevant changelog >>> commit in the commit description, use html.escape() once instead of >>> twice, small change in the first commit to make it clearer. >> >> I applied this series. But I have an issue with the Discord daemon >> when I restart the MySQL server. It can't recover from MySQL restart. >> >> When you restart the MySQL server, it's always looping in the MySQL >> error and keep sending the error log on Discord: >> >>     "Lost connection to MySQL server during query" >> >> Can you please fix it? > > This happens on the Telegram daemon too. I thought I fixed it in: > >    529d804eb47518 ("daemon: telegram: Handle MySQL error") > > but somehow my fix is no longer applicable on top of your series. > Can you give me the tips how to reproduce this error? Or I must wait or idle the bot? Or I just disconnect my internet and then reconnect and see what will happen on MySQL connection?