diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-04-20 16:58:34 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-04-20 16:58:34 +0200 |
| commit | 47a5607a691a576928896f21bcf563c011dc64e5 (patch) | |
| tree | 82fc9c460671abc280e3a496ee2d64e3c124a507 | |
| parent | b7b167284e72aba699a73a1ab9c8a197d7297db2 (diff) | |
| -rwxr-xr-x | src/blueprint | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/blueprint b/src/blueprint index 4e73887..5a40650 100755 --- a/src/blueprint +++ b/src/blueprint @@ -21,7 +21,11 @@ local commands = { local command = commands[arg[1]] if command then - command() + local status, ret = pcall(command) + + if not status then + print('error: ' .. ret) + end else print([[blueprint <command> [options...] |