diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-19 02:00:52 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-19 02:00:59 -0700 |
| commit | 7deed5af411689f198ebec5338476a563cb7ef28 (patch) | |
| tree | 6d74966b48666a64337977dcc6a6a5e6a40f0cbf /nomsu.lua | |
| parent | 59c79bdf57ce31d5f2fe15dbbdcc6ff345adc651 (diff) | |
Fixing up some error reporting
Diffstat (limited to 'nomsu.lua')
| -rw-r--r-- | nomsu.lua | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -187,4 +187,9 @@ run = function() end end end -return run_safely(run) +local has_ldt, ldt = pcall(require, 'ldt') +if has_ldt then + return ldt.guard(run) +else + return run_safely(run) +end |
