diff options
Diffstat (limited to 'src/DabMux.cpp')
| -rw-r--r-- | src/DabMux.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/DabMux.cpp b/src/DabMux.cpp index 3870df5..5d109fa 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -481,6 +481,10 @@ int main(int argc, char *argv[])          etiLog.level(error) << "Caught invalid argument : " << except.what();          returnCode = 1;      } +    catch (const std::out_of_range& except) { +        etiLog.level(error) << "Caught out of range exception : " << except.what(); +        returnCode = 1; +    }      catch (const std::runtime_error& except) {          etiLog.level(error) << "Caught runtime error : " << except.what();          returnCode = 2; | 
