Skip to content
Snippets Groups Projects
Commit 25dcdbd0 authored by Egor Ivkov's avatar Egor Ivkov Committed by Dmitry Ivanov
Browse files

feat: report actual error in console.connect

NO_DOC=internal
NO_TEST=internal
NO_CHANGELOG=internal
parent eb76f8b7
No related branches found
No related tags found
No related merge requests found
......@@ -880,7 +880,8 @@ local function connect(uri, opts)
end
if not remote then
log.verbose(err)
box.error(box.error.NO_CONNECTION)
local reason = "Connection is not established: " .. err
box.error { code = box.error.NO_CONNECTION, reason = reason }
end
remote.console_eval = function(line)
return remote:eval(line)
......
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