:pparse() should still raise an error if it is caused by misconfiguration

This commit is contained in:
mpeterv
2014-02-18 15:35:58 +04:00
parent a0fe631b08
commit 3a80e0179b
2 changed files with 8 additions and 0 deletions

View File

@@ -778,6 +778,7 @@ function Parser:pparse(args)
if ok then
return true, result
else
assert(errmsg, result)
return false, errmsg
end
end