diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-06-03 18:11:08 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-06-03 18:11:08 -0700 |
commit | 62d3a010d430fadf99268498bee3cff3e16c608f (patch) | |
tree | 9bf2b47b8441c6db614e56624cca33a2ef27f019 /indra/llcommon | |
parent | d7e76ed642a86e97ae71b96d65fdacb3692b6704 (diff) |
BUG-2707 disable sites calling OsOutputDebugString directly to identify which is tossing our errant exception
Diffstat (limited to 'indra/llcommon')
-rwxr-xr-x | indra/llcommon/llerror.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp index 9b0141eb76..2a037fcad9 100755 --- a/indra/llcommon/llerror.cpp +++ b/indra/llcommon/llerror.cpp @@ -201,10 +201,12 @@ namespace { virtual void recordMessage(LLError::ELevel level, const std::string& message) { +#if BUG_2707_HUNT llutf16string utf16str = wstring_to_utf16str(utf8str_to_wstring(message)); utf16str += '\n'; OutputDebugString(utf16str.c_str()); +#endif } }; #endif |