Actions
Bug #6940
closed
JI
JI
Feature #4775: lua: overhaul lua support
lua: handle errors in lua rules
Bug #6940:
lua: handle errors in lua rules
Affected Versions:
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.
JI Updated by Jason Ish almost 2 years ago
- Tracker changed from Feature to Bug
JI Updated by Jason Ish almost 2 years ago
- Status changed from New to In Progress
JI Updated by Jason Ish almost 2 years ago
- Status changed from In Progress to Closed
Fixed with 224f55ba21f443fe0efa3b1d032b11cdf658b5ff.
VJ Updated by Victor Julien almost 2 years ago
- Assignee changed from OISF Dev to Jason Ish
VJ Updated by Victor Julien almost 2 years ago
- Blocks Story #7128: lua: sandboxed lua support with mimimum set of bindings added
Actions