diff options
Diffstat (limited to 'src/Log.h')
-rw-r--r-- | src/Log.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -93,6 +93,7 @@ class LogToFile : public LogBackend { log_file = fopen(filename.c_str(), "a"); if (log_file == NULL) { + fprintf(stderr, "Cannot open log file !"); throw new std::runtime_error("Cannot open log file !"); } } |