Skip to content

Commit e427c6a

Browse files
author
mwatson
committed
Make sure path isnt null
1 parent 4d6a11a commit e427c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/StackifyLib/Utils/PrefixOrAPM.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ internal static ProfilerType GetProfilerType()
7979
{
8080
_LastProfilerType = ProfilerType.Prefix;
8181
}
82-
else
82+
else if (!string.IsNullOrEmpty(stackifyPath))
8383
{
8484
_LastProfilerType = ProfilerType.APM;
8585
}

0 commit comments

Comments
 (0)