exception: fix typo: getMessge() → getMessage() v_0 tip
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 27 Nov 2021 23:15:14 +0100
branchv_0
changeset 10 db8429c641c6
parent 9 7d309accc639
exception: fix typo: getMessge() → getMessage()
src/relpipe-in-asn1.cpp
--- a/src/relpipe-in-asn1.cpp	Wed Jul 28 18:01:09 2021 +0200
+++ b/src/relpipe-in-asn1.cpp	Sat Nov 27 23:15:14 2021 +0100
@@ -53,11 +53,11 @@
 		command.process(cin, writer, configuration);
 		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();
 	}