Commit a617a905 authored by Hitesh Khandelwal's avatar Hitesh Khandelwal Committed by Peter Griess

Revert "[Folly] Helper method to get exception type"

Summary: This reverts commit 2c4f8da739ba0294f2c947753a0e30fee291feb5.

Test Plan: Compiles

Reviewed By: tudorb@fb.com

FB internal diff: D1108840
parent 799322db
......@@ -352,13 +352,6 @@ inline size_t demangle(const std::type_info& type, char* buf, size_t bufSize) {
return demangle(type.name(), buf, bufSize);
}
/**
* Debug string for an exception: include type only.
*/
inline fbstring exceptionTypeStr(const std::exception& e) {
return folly::to<fbstring>(demangle(typeid(e)));
}
/**
* Debug string for an exception: include type and what().
*/
......
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