[Tarantool-patches] [PATCH] box: always promote error created via box.error() to diag

Nikita Pettik korablev at tarantool.org
Fri Apr 3 04:55:40 MSK 2020


On 03 Apr 00:20, Vladislav Shpilevoy wrote:
> Thanks for the fixes!
> 
> > commit 28c43bbdb82f78b7a2d19e55de181ddb7d370497
> > Author: Nikita Pettik <korablev at tarantool.org>
> > 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.
 


More information about the Tarantool-patches mailing list