[tarantool-patches] [PATCH] tarantoolctl: update confusing error message
Vladimir Davydov
vdavydov.dev at gmail.com
Mon Aug 20 20:03:01 MSK 2018
On Thu, Aug 09, 2018 at 05:18:06PM +0300, Konstantin Belyavskiy wrote:
> There were two complains regarding to tarantoolctl eval behaviour:
> 1. confusing message - fixed.
> 2. eval have correct return code there is no need in extra message
> With built-in function 'error()' is used, we can have some
> unexpected behaviour like: stat, err = pcall(error(1))
> To distinguish case with error(message) from something went bad
> suggest to use pattern "[string ...].
Mons, who filed the issue, wanted us to remove this error message,
not fix it or anything else. I did it by myself.
More information about the Tarantool-patches
mailing list