Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User friendly transaction exception message #3789

Open
artjoma opened this issue Nov 3, 2018 · 1 comment
Open

User friendly transaction exception message #3789

artjoma opened this issue Nov 3, 2018 · 1 comment
Assignees
Labels
feature A new functionality
Milestone

Comments

@artjoma
Copy link

artjoma commented Nov 3, 2018

Tarantool version: 1.10.2-18-g480c55b
OS version: Kubuntu16

Without transaction

function test()
    cityDAO.addCity1("cityC")
end

return message with description

127.0.0.1:3302> test()
---
- error: '[string "function test()..."]:2: attempt to call field ''addCity1'' (a nil
    value)'

Using transaction

function test1()
    box.begin()
    cityDAO.addCity1("cityC")
    box.commit()
end

no details

127.0.0.1:3302> test1()
---
- error: Transaction is active at return from function
@kyukhin kyukhin added the feature A new functionality label Dec 7, 2018
@kyukhin kyukhin added this to the wishlist milestone Dec 7, 2018
@zilveer
Copy link

zilveer commented Aug 10, 2019

I have faced this issue as well, would be nice to see this feature implemented soon.

regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality
Projects
None yet
Development

No branches or pull requests

4 participants