File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,9 @@ template<typename... Args> std::string FormatStringFromLogArgs(const char *fmt,
80
80
std::string _log_msg_; /* Unlikely name to avoid shadowing variables */ \
81
81
try { \
82
82
_log_msg_ = tfm::format (__VA_ARGS__); \
83
- } catch (tinyformat::format_error &e ) { \
83
+ } catch (tinyformat::format_error &fmterr ) { \
84
84
/* Original format string will have newline so don't add one here */ \
85
- _log_msg_ = " Error \" " + std::string (e .what ()) + " \" while formatting log message: " + FormatStringFromLogArgs (__VA_ARGS__); \
85
+ _log_msg_ = " Error \" " + std::string (fmterr .what ()) + " \" while formatting log message: " + FormatStringFromLogArgs (__VA_ARGS__); \
86
86
} \
87
87
LogPrintStr (_log_msg_); \
88
88
} while (0 )
You can’t perform that action at this time.
0 commit comments