Add parsing errors in lua backend
ClosedPublic

Authored by sirgienko on Apr 5 2018, 2:55 PM.

Details

Summary

Luabackend haven't parsed errors, so if entries cause errors, we just get empty output (but not empty error output, which don't check). This add error handling, so now we could see, if errors hapened.

Test Plan
  1. Start lua session, and check, that wrong lua expression don't produce any output.
  2. Apply this patch
  3. Check, that how wrong lua expression produce output and cause error entry status

Diff Detail

Repository
R55 Cantor
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sirgienko created this revision.Apr 5 2018, 2:55 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptApr 5 2018, 2:55 PM
Restricted Application added a subscriber: KDE Edu. · View Herald Transcript
sirgienko requested review of this revision.Apr 5 2018, 2:55 PM
This revision was not accepted when it landed; it landed in state Needs Review.Apr 8 2018, 3:45 PM
Closed by commit R55:6fc34b4110cf: Add parsing errors in lua backend (authored by sirgienko, committed by asemke). · Explain Why
This revision was automatically updated to reflect the committed changes.