mirror of
https://github.com/kepler155c/opus
synced 2025-12-17 13:48:05 +00:00
better errors + modules as devices (try #2) + pretty lua output
This commit is contained in:
@@ -67,7 +67,7 @@ function Routine:resume(event, ...)
|
||||
end
|
||||
|
||||
if not s and event ~= 'terminate' then
|
||||
error('\n' .. (m or 'Error processing event'))
|
||||
error(m or 'Error processing event', -1)
|
||||
end
|
||||
|
||||
return s, m
|
||||
|
||||
Reference in New Issue
Block a user