exception: fix typo: getMessge() → getMessage() v_0 v0.18
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 27 Nov 2021 23:15:18 +0100
branchv_0
changeset 29 26ae3dca06af
parent 28 bc15f5471b6a
child 30 0721d6b81cb7
exception: fix typo: getMessge() → getMessage()
src/relpipe-tr-cut.cpp
--- a/src/relpipe-tr-cut.cpp	Tue May 11 22:03:45 2021 +0200
+++ b/src/relpipe-tr-cut.cpp	Sat Nov 27 23:15:18 2021 +0100
@@ -58,11 +58,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;
 	}