File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 33
33
34
34
#include " llmatrix4a.h"
35
35
#include < boost/bind.hpp>
36
+ #include < boost/exception/diagnostic_information.hpp>
36
37
37
38
std::list<LLModelLoader*> LLModelLoader::sActiveLoaderList ;
38
39
@@ -184,7 +185,7 @@ void LLModelLoader::run()
184
185
LLSD args;
185
186
args[" Message" ] = " UnknownException" ;
186
187
args[" FILENAME" ] = mFilename ;
187
- args[" EXCEPTION" ] = " Unknown exception " ;
188
+ args[" EXCEPTION" ] = boost::current_exception_diagnostic_information () ;
188
189
mWarningsArray .append (args);
189
190
setLoadState (ERROR_PARSING);
190
191
}
Original file line number Diff line number Diff line change 59
59
60
60
#include < boost/regex.hpp>
61
61
#include < boost/algorithm/string/replace.hpp>
62
+ #include < boost/exception/diagnostic_information.hpp>
62
63
#include < fstream>
63
64
64
65
static const std::string lod_suffix[LLModel::NUM_LODS] =
@@ -154,7 +155,7 @@ bool LLGLTFLoader::OpenFile(const std::string &filename)
154
155
LLSD args;
155
156
args[" Message" ] = " ParsingErrorException" ;
156
157
args[" FILENAME" ] = filename;
157
- args[" EXCEPTION" ] = " Unknown exception " ;
158
+ args[" EXCEPTION" ] = boost::current_exception_diagnostic_information () ;
158
159
mWarningsArray .append (args);
159
160
setLoadState (ERROR_PARSING);
160
161
return false ;
You can’t perform that action at this time.
0 commit comments