Kyle Evans 5beb550712 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-02-26 03:16:47 +00:00
2018-04-27 22:15:18 +00:00
2018-10-26 23:44:50 +00:00
2018-03-13 16:33:00 +00:00
2018-10-28 02:57:50 +00:00
2018-10-23 23:11:38 +00:00
2018-08-15 11:39:13 +00:00
2018-06-27 19:29:15 +00:00
2018-08-01 20:08:20 +00:00
2018-07-08 07:42:49 +00:00
2017-12-02 00:06:58 +00:00