Project

General

Profile

Actions

Feature #6940

open

Feature #4775: lua: overhaul lua support

lua: handle errors in lua rules

Added by Jason Ish 18 days ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

When a Lua rule errors out, instead of return 0 or 1, the error is considered falsely and will trigger a lua:!script.lua, which seems wrong. Lua rules should only be considered not match on a return value of 0. If possible, other errors should be detected and increment a counter, or some "engine" level event that is rate limited.

No data to display

Actions

Also available in: Atom PDF