Skip to content

Commit

Permalink
use random part for loader file name if process info retrieval fails
Browse files Browse the repository at this point in the history
  • Loading branch information
lachmatt committed Apr 7, 2022
1 parent 829226d commit 537dfe7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private static string SetStartupLogFilePath()
catch
{
// We can't get the process info
return Path.Combine(LogDirectory, "dotnet-tracer-loader.log");
return Path.Combine(LogDirectory, $"dotnet-tracer-loader-{Guid.NewGuid()}.log");
}
}

Expand Down

0 comments on commit 537dfe7

Please sign in to comment.