diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-12 19:08:23 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-12 17:08:59 +0000 |
commit | b8f791877dd792dc3001863997f38ebf8bd9462a (patch) | |
tree | a40a849501555d4742e74cd395177169d6939beb /logic | |
parent | 496fda510969441a873160b20e297beac046be20 (diff) |
logic/modules: help debug more failure cases
Diffstat (limited to 'logic')
-rw-r--r-- | logic/runtime-libraries.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/logic/runtime-libraries.cpp b/logic/runtime-libraries.cpp index 478b9e0e..b91c9635 100644 --- a/logic/runtime-libraries.cpp +++ b/logic/runtime-libraries.cpp @@ -15,7 +15,10 @@ runtime_libraries::runtime_libraries(QFrame* frame, dylibptr t, dylibptr p, dyli pProtocol = make_dylib_instance<IProtocol>(p); if (!pProtocol) + { + qDebug() << "protocol dylib load failure"; goto end; + } if(status = pProtocol->initialize(), !status.is_ok()) { @@ -33,6 +36,12 @@ runtime_libraries::runtime_libraries(QFrame* frame, dylibptr t, dylibptr p, dyli goto end; } + if (f && !pFilter) + { + qDebug() << "filter load failure"; + goto end; + } + if (pFilter) if(status = pFilter->initialize(), !status.is_ok()) { |