Skip to content
Snippets Groups Projects
Commit 7136dcfa authored by Gleb Kashkin's avatar Gleb Kashkin Committed by Dmitry Ivanov
Browse files

console: fix :endswith() err in tntctl connection

There used to be a rare error when failed to connect via tarantoolctl to
listening cartridge console. It was caused by unclear
console.local_print() contract. Starting from gh-7031 fix, the function
assumed string-only arguments, while in some cases cdata error was
passed.

Now console.local_print() prints all non-string arguments as is, without
modifying potential local_eos.

Closes #8374

NO_DOC=bugfix
NO_TEST=very hard to test
parent aeb4e83d
No related branches found
No related tags found
No related merge requests found
## bugfix/console
* Fixed `console.local_print()` accepting only string arguments. It backfired in
some rare cases, e.g. when connecting via tarantoolctl to cartridged tarantool
and using wrong credentials, a cdata error was passed through the
`local_print()`, that failed to interpret it (gh-8374).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment