diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } } |