diff --git a/src/debug.cpp b/src/debug.cpp index f9a04fbc5..a9c4d7d9e 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -137,7 +137,7 @@ void logger::use_file(std::string const& filepath) else { std::stringstream s; - s << "cannot redirect log to file " << file_output_; + s << "cannot redirect log to file " << file_name_; throw std::runtime_error(s.str()); } }