src/relpipe-in-recfile.cpp
branchv_0
changeset 15 a55f4c95f756
parent 8 9c8c20c3bd64
equal deleted inserted replaced
14:100708c7baa9 15:a55f4c95f756
    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;