kevans d59b5479f9 lualoader: Fix try_include error handling
The previous iteration of try_include attempted to be 'friendly' and error()
out if we hit an error that wasn't ENOENT. This was semi-OK, but fragile as
it relied on pattern matching the error message.

Move the responsibility for handling failure to the caller. Following
a common lua pattern, we'll return the return value of the underlying
require() on success, or false and an error message.

Reported by:	bcran
MFC after:	3 days
2018-10-29 02:58:30 +00:00
..
2018-06-12 03:44:34 +00:00
2018-08-19 15:07:39 +00:00
2018-07-20 05:17:49 +00:00
2018-08-20 02:08:39 +00:00
2018-06-09 14:26:30 +00:00
2018-08-30 13:29:32 +00:00
2018-08-20 02:40:10 +00:00
2018-09-22 13:14:44 +00:00
2018-08-20 16:44:09 +00:00