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,
8080 std::string _log_msg_; /* Unlikely name to avoid shadowing variables */ \
8181 try { \
8282 _log_msg_ = tfm::format (__VA_ARGS__); \
83- } catch (tinyformat::format_error &e ) { \
83+ } catch (tinyformat::format_error &fmterr ) { \
8484 /* 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__); \
8686 } \
8787 LogPrintStr (_log_msg_); \
8888} while (0 )
You can’t perform that action at this time.
0 commit comments