exception: fix typo: getMessge() → getMessage() v_0 v0.18
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 27 Nov 2021 23:15:14 +0100
branchv_0
changeset 50 8f262b05c252
parent 49 3dbf57ecd6db
child 51 51b18b2e1fa2
exception: fix typo: getMessge() → getMessage()
src/relpipe-in-cli.cpp
--- a/src/relpipe-in-cli.cpp	Sat Oct 24 00:08:17 2020 +0200
+++ b/src/relpipe-in-cli.cpp	Sat Nov 27 23:15:14 2021 +0100
@@ -49,11 +49,11 @@
 		command.process(configuration, writer);
 		resultCode = CLI::EXIT_CODE_SUCCESS;
 	} catch (RelpipeWriterException& e) {
-		fwprintf(stderr, L"Caught Writer exception: %ls\n", e.getMessge().c_str());
+		fwprintf(stderr, L"Caught Writer exception: %ls\n", e.getMessage().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 (RelpipeCLIException& e) {
-		fwprintf(stderr, L"Caught CLI exception: %ls\n", e.getMessge().c_str());
+		fwprintf(stderr, L"Caught CLI exception: %ls\n", e.getMessage().c_str());
 		fwprintf(stderr, L"Debug: Input stream: eof=%ls, lastRead=%d\n", (cin.eof() ? L"true" : L"false"), cin.gcount());
 		resultCode = e.getExitCode();
 	}