Commit 368f00f0 authored by Dan Melnic's avatar Dan Melnic Committed by Facebook Github Bot

Relax DFATAL message

Summary: Relax DFATAL message

Reviewed By: yfeldblum

Differential Revision: D18001089

fbshipit-source-id: 2027d0257e1cba6905dc4eb1863b70a8fe6a7366
parent d0002eca
...@@ -177,7 +177,7 @@ std::vector<ExceptionInfo> getCurrentExceptions() { ...@@ -177,7 +177,7 @@ std::vector<ExceptionInfo> getCurrentExceptions() {
: nullptr; : nullptr;
if (traceStack) { if (traceStack) {
LOG_IF(DFATAL, !trace) LOG_IF(WARNING, !trace)
<< "Invalid trace stack for exception of type: " << "Invalid trace stack for exception of type: "
<< (info.type ? folly::demangle(*info.type) : "null"); << (info.type ? folly::demangle(*info.type) : "null");
...@@ -193,7 +193,7 @@ std::vector<ExceptionInfo> getCurrentExceptions() { ...@@ -193,7 +193,7 @@ std::vector<ExceptionInfo> getCurrentExceptions() {
exceptions.push_back(std::move(info)); exceptions.push_back(std::move(info));
} }
LOG_IF(DFATAL, trace) << "Invalid trace stack!"; LOG_IF(WARNING, trace) << "Invalid trace stack!";
return exceptions; return exceptions;
} }
......
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