Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
GordonSmith committed Feb 27, 2024
1 parent 7cf1e1f commit 912167b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 0 additions & 4 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@
"strategy": "set",
"value": "x64"
},
"toolset": {
"strategy": "set",
"value": "host=x64"
},
"hidden": true
},
{
Expand Down
8 changes: 7 additions & 1 deletion system/jlib/jtrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class JLogSpanExporter final : public opentelemetry::sdk::trace::SpanExporter
out.append(" }");

}
catch(const std::bad_variant_access & e)
catch(const std::exception & e)
{
ERRLOG("Could not export span %s: %s", attsContainerName, e.what());
}
Expand Down Expand Up @@ -1423,3 +1423,9 @@ ITraceManager & queryTraceManager()
{
return *theTraceManager.query([] () { return new CTraceManager; }); //throws if not initialized
}

#if WIN32 && _MSC_VER < 1933 // VS 2022 17.9
extern "C" void __stdcall _Thrd_sleep_for(const unsigned long ms) noexcept { // suspend current thread for `ms` milliseconds
Sleep(ms);
}
#endif

0 comments on commit 912167b

Please sign in to comment.