diff -r d5e80f15d1f7 -r 6ee7a9e311e9 src/relpipe-tr-guile.cpp --- a/src/relpipe-tr-guile.cpp Tue May 07 01:03:21 2019 +0200 +++ b/src/relpipe-tr-guile.cpp Sun May 26 19:46:47 2019 +0200 @@ -64,6 +64,10 @@ fwprintf(stderr, L"Caught Reader exception: %ls\n", e.getMessge().c_str()); fwprintf(stderr, L"Debug: Input stream: eof=%ls, lastRead=%d\n", (cin.eof() ? L"true" : L"false"), cin.gcount()); resultCode = CLI::EXIT_CODE_DATA_ERROR; + } catch (GuileException& e) { + fwprintf(stderr, L"Caught Guile exception: %ls\n", e.getMessge().c_str()); + fwprintf(stderr, L"Debug: Input stream: eof=%ls, lastRead=%d\n", (cin.eof() ? L"true" : L"false"), cin.gcount()); + resultCode = CLI::EXIT_CODE_UNEXPECTED_ERROR; } exit(resultCode);