This commit is contained in:
@@ -52,7 +52,7 @@ namespace ArbUt {
|
||||
AppendNoSourceStack(ss, trace, include_addr);
|
||||
} else {
|
||||
AppendSourceStack(ss, trace, foundExceptionClass);
|
||||
if (foundExceptionClass){
|
||||
if (foundExceptionClass) {
|
||||
framesAppended++;
|
||||
if (framesAppended >= depth)
|
||||
break;
|
||||
@@ -83,7 +83,8 @@ namespace ArbUt {
|
||||
}
|
||||
ss << " " << function << std::endl;
|
||||
}
|
||||
static void AppendSourceStack(std::stringstream& ss, const backward::ResolvedTrace& trace, bool& foundExceptionClass) {
|
||||
static void AppendSourceStack(std::stringstream& ss, const backward::ResolvedTrace& trace,
|
||||
bool& foundExceptionClass) {
|
||||
auto fileName =
|
||||
(strrchr(trace.source.filename.c_str(), '/') ? strrchr(trace.source.filename.c_str(), '/') + 1
|
||||
: trace.source.filename.c_str());
|
||||
|
||||
Reference in New Issue
Block a user