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 34 508b51f094b8
parent 33 1c6fb0b74de3
child 35 c9215d1be8aa
exception: fix typo: getMessge() → getMessage()
src/relpipe-out-tabular.cpp
--- a/src/relpipe-out-tabular.cpp	Sat Oct 24 00:08:19 2020 +0200
+++ b/src/relpipe-out-tabular.cpp	Sat Nov 27 23:15:17 2021 +0100
@@ -52,11 +52,11 @@
 		//	throw RelpipeCLIException(L"Missing command…", CLI::EXIT_CODE_BAD_SYNTAX);
 		// }
 	} 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;
 	}