We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81df037 commit eacda3fCopy full SHA for eacda3f
ddprof-lib/src/main/java/com/datadoghq/profiler/OTelContext.java
@@ -120,8 +120,7 @@ private OTelContext() {
120
* @param errorHandler custom error handler for library loading failures, or null
121
* to print warnings to System.out
122
*/
123
- // @VisibleForTesting
124
- OTelContext(String libLocation, String scratchDir, Consumer<Throwable> errorHandler) {
+ public OTelContext(String libLocation, String scratchDir, Consumer<Throwable> errorHandler) {
125
LibraryLoader.Result result = LibraryLoader.builder().withLibraryLocation(libLocation).withScratchDir(scratchDir).load();
126
if (!result.succeeded && result.error != null) {
127
if (errorHandler != null) {
0 commit comments