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.126.198]) by gnuweeb.org (Postfix) with ESMTPSA id 75A6F804D1; Mon, 7 Nov 2022 01:13:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1667783587; bh=e7a2Dk2IwAQb2y/Os8+hC9mBDB0fg/x0szjskt2/pIU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=sbt2OVsVoYhgAeuqidmrxJD/xCnykWzDIVVyyYHJIMOit4GzSnZ45jtGgkIgzp72d DX3olJND2X4V5lczL5oLoK3hsCawPWo7Hd04yKdP4uPvHveypPcfi4iZ770BhT6PfQ I5fBe6yvBEtNUne9dJpF0t3AWhLvSbDedmNP6MuPWTpK7+kN3FAavDzhqyYIdY5fTl cxQwu2iarPetpzEWZuLGNDblCrkhoSUzaCB2TCtZXRfOfHwqaH6VF2B6IGy2MVoTZl 3O5++ntN/gunLy3a32c33Zig7NMCxOdUwbom9CkzdV2Sij8cJEdGWuGIa53zuXxxMc gNAP2mOst1LoA== Message-ID: <9bce4733-0133-adf9-6291-3a932df80973@gnuweeb.org> Date: Mon, 7 Nov 2022 08:13:03 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v1 11/16] telegram: Implement the log message for catching errors Content-Language: en-US To: Ammar Faizi Cc: Alviro Iskandar Setiawan , GNU/Weeb Mailing List References: <20221104180931.3852-1-kiizuha@gnuweeb.org> <20221104180931.3852-15-kiizuha@gnuweeb.org> <8ce63732-0cdb-e3b0-f292-5433e5b35ff1@gnuweeb.org> From: Muhammad Rizki In-Reply-To: <8ce63732-0cdb-e3b0-f292-5433e5b35ff1@gnuweeb.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: On 07/11/2022 08.05, Ammar Faizi wrote: > On 11/5/22 1:09 AM, Muhammad Rizki wrote: >> After created the BotLogger() class and initialized it to the >> DaemonClient() attribute, implement it in the >> telegram/mailer/listener.py to log it into the file if catching errors. >> >> v4: >>    - Add logger >> >> v3: >>    - Simplify try and except statement (comment from Muhammad Rizki). >> >> v2: >>    * no changes * >> >> Signed-off-by: Muhammad Rizki > > Why do v4, v3, v2 appear on there? I don't understand the relevance. > Ohh, so the changelog in the commit description MUST have relevant to current patch? IDK about this.