Skip to content
Snippets Groups Projects
Commit ec772515 authored by Kurdakov Alexander's avatar Kurdakov Alexander Committed by Alexander Kurdakov
Browse files

fix: public lua functions should fail with error


Previously some public lua functions in core-router.lua failed
returning nil instead of an error. As a result in a case of error
rust code treated it as success, but failed to pop expected results
from lua stack. So, instead of a real error user got lua reading
errors. Fixed.

Co-authored-by: Denis Smirnov's avatarDenis Smirnov <sd@picodata.io>
parent 2859cbdb
No related branches found
No related tags found
1 merge request!511fix: raise error when fail in public lua functions
Pipeline #50730 passed
Loading
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