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

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Fri Apr 3 01:20:36 MSK 2020


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 +.



More information about the Tarantool-patches mailing list