diff options
| author | Omar Rizwan <omar@omar.website> | 2023-10-06 01:42:27 +0000 |
|---|---|---|
| committer | Omar Rizwan <omar@omar.website> | 2023-10-06 01:42:27 +0000 |
| commit | cc5864480e41322e384d702df0d6814348a25467 (patch) | |
| tree | 7d14375debdb03d8ed08de1e0c82b1a00131e4dd /virtual-programs | |
| parent | oops, forgot to add to the 2nd function (diff) | |
| download | folk-cc5864480e41322e384d702df0d6814348a25467.tar.gz folk-cc5864480e41322e384d702df0d6814348a25467.zip | |
display: Catch errors, so we don't hard crash if font doesn't exist
Diffstat (limited to 'virtual-programs')
| -rw-r--r-- | virtual-programs/display.folk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/virtual-programs/display.folk b/virtual-programs/display.folk index 4bce8a00..d7c0f2b1 100644 --- a/virtual-programs/display.folk +++ b/virtual-programs/display.folk @@ -475,7 +475,10 @@ On process { set renderTime [baretime { Display::start - foreach command $displayCommands { {*}$command } + foreach command $displayCommands { + try { {*}$command } \ + on error e { puts stderr $::errorInfo } + } Display::end }] |
