summaryrefslogtreecommitdiffstats
path: root/src/Log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Log.h')
-rw-r--r--src/Log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Log.h b/src/Log.h
index fb1d2f6..1222686 100644
--- a/src/Log.h
+++ b/src/Log.h
@@ -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 !");
}
}