aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 40be196..693a5d2 100644
--- a/main.cpp
+++ b/main.cpp
@@ -15,7 +15,7 @@ static unique_ptr<FileStrategy> open(const char * url) noexcept {
unique_ptr<FileStrategy> file = FileReader::open(url);
return file;
} catch (Exception & e) {
- printf("FileStrategy open error: %s\n", e.what());
+ printf("file open error: %s\n", e.what());
exit(EXIT_FAILURE);
}
}
@@ -24,7 +24,7 @@ static void parse(FileStrategy & file, Deserializer & deserializer, const char *
try {
Parser::parse(file, deserializer);
} catch (Exception & e) {
- printf("Parser error: %s (%s)\n", e.what(), url);
+ printf("parser error: %s (%s)\n", e.what(), url);
exit(EXIT_FAILURE);
}
}