Commit 3327e168 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

Merge branch 'trac3314'

parents 1f0e3dc6 7058dd16
......@@ -163,8 +163,12 @@ public:
/// This is the place where output happens if the formatter is active.
~ Formatter() {
if (logger_) {
checkExcessPlaceholders(message_, ++nextPlaceholder_);
logger_->output(severity_, *message_);
try {
checkExcessPlaceholders(message_, ++nextPlaceholder_);
logger_->output(severity_, *message_);
} catch (...) {
// Catch and ignore all exceptions here.
}
delete message_;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment