diff options
| author | tassaron | 2017-07-23 22:55:41 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-23 22:55:41 -0400 |
| commit | d92fc6373fd070f0ea303e9795eb7648d5cd9e90 (patch) | |
| tree | 325ddcd123aed64a6c3336ffb5e58c8ed80e6c51 /src/command.py | |
| parent | d38109453cea17a31c335837c0029ad51fa3dda1 (diff) | |
ComponentError exception wraps previewRender
probably where errors are likeliest to be found
Diffstat (limited to 'src/command.py')
| -rw-r--r-- | src/command.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/command.py b/src/command.py index ca186e5..74ca821 100644 --- a/src/command.py +++ b/src/command.py @@ -146,6 +146,12 @@ class Command(QtCore.QObject): if 'detail' in kwargs: print(kwargs['detail']) + @QtCore.pyqtSlot(str, str) + def videoThreadError(self, msg, detail): + print(msg) + print(detail) + quit(1) + def drawPreview(self, *args): pass |
