exception: fix typo: getMessge() → getMessage() v_0 v0.18
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 27 Nov 2021 23:15:17 +0100
branchv_0
changeset 9 42dbdee1d9f0
parent 8 7c85dc9a310b
child 10 e170ecb1dffe
exception: fix typo: getMessge() → getMessage()
src/relpipe-out-ini.cpp
--- a/src/relpipe-out-ini.cpp	Thu Sep 09 18:57:37 2021 +0200
+++ b/src/relpipe-out-ini.cpp	Sat Nov 27 23:15:17 2021 +0100
@@ -50,11 +50,11 @@
 		resultCode = CLI::EXIT_CODE_SUCCESS;
 
 	} 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();
 	} catch (RelpipeReaderException e) {
-		fwprintf(stderr, L"Caught Reader exception: %ls\n", e.getMessge().c_str());
+		fwprintf(stderr, L"Caught Reader 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;
 	}