From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp58.i.mail.ru (smtp58.i.mail.ru [217.69.128.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 4BFB44696C3 for ; Fri, 3 Apr 2020 04:55:41 +0300 (MSK) Date: Fri, 3 Apr 2020 01:55:40 +0000 From: Nikita Pettik Message-ID: <20200403015540.GC946@tarantool.org> References: <2d0316df-dda7-6438-d8cb-c7fd6290d830@tarantool.org> <20200402141545.GB30923@tarantool.org> <91132370-b7d2-cb08-7a42-3f97b29da858@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <91132370-b7d2-cb08-7a42-3f97b29da858@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH] box: always promote error created via box.error() to diag List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy Cc: tarantool-patches@dev.tarantool.org On 03 Apr 00:20, Vladislav Shpilevoy wrote: > Thanks for the fixes! > > > commit 28c43bbdb82f78b7a2d19e55de181ddb7d370497 > > Author: Nikita Pettik > > Date: Wed Apr 1 16:32:22 2020 +0300 > > > > box: always promote error created via box.error() to diag > > > > This patch makes box.error() always promote error to the diagnostic > > area despite of passed arguments. > > > > Closes #4829 > > > > @TarantoolBot document > > Title: always promote error created via box.error() to diag > > > > box.error() is able to accept two types of argument: either pair of code > > + reason (box.error{code = 555, reason = 'Arbitrary message'}) or error > > This '+' in the beginning of a line turns into a bullet point in > github markdown. Check 'Preview' when try to create a ticket. You > can escape it using \+, or move 'code' word on the same line > before +. > Fixed.