equal
deleted
inserted
replaced
44 try { |
44 try { |
45 RecfileCommand command; |
45 RecfileCommand command; |
46 command.process(cin, cout); |
46 command.process(cin, cout); |
47 resultCode = CLI::EXIT_CODE_SUCCESS; |
47 resultCode = CLI::EXIT_CODE_SUCCESS; |
48 } catch (RelpipeWriterException& e) { |
48 } catch (RelpipeWriterException& e) { |
49 fwprintf(stderr, L"Caught Writer exception: %ls\n", e.getMessge().c_str()); |
49 fwprintf(stderr, L"Caught Writer exception: %ls\n", e.getMessage().c_str()); |
50 fwprintf(stderr, L"Debug: Input stream: eof=%ls, lastRead=%d\n", (cin.eof() ? L"true" : L"false"), cin.gcount()); |
50 fwprintf(stderr, L"Debug: Input stream: eof=%ls, lastRead=%d\n", (cin.eof() ? L"true" : L"false"), cin.gcount()); |
51 resultCode = CLI::EXIT_CODE_DATA_ERROR; |
51 resultCode = CLI::EXIT_CODE_DATA_ERROR; |
52 } |
52 } |
53 |
53 |
54 return resultCode; |
54 return resultCode; |