Workaround broken error reporting.

Signed-off-by: kat <kat@lua.cz>