Add parsing errors in lua backend

Authored by sirgienko on Apr 8 2018, 3:42 PM.

Description

Add parsing errors in lua backend

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

Reviewers: Cantor, asemke

Subscribers: Cantor, KDE Edu

Tags: KDE Edu, Cantor

Differential Revision: https://phabricator.kde.org/D11963

Details

Committed
asemkeApr 8 2018, 3:45 PM
Differential Revision
D11963: Add parsing errors in lua backend
Parents
R55:01c09c55c0da: Small improving of order of logic operators in evaluateNext
Branches
Unknown
Tags
Unknown