Skip to content

Commit

Permalink
Added parentheses to symbol paths which are passed to sentry-cli (#655)
Browse files Browse the repository at this point in the history
Adding parentheses to symbol paths fixes an issue where some symbols wouldn't be picked up when the project had a whitespace in its name.
  • Loading branch information
LukasKastern authored Mar 21, 2022
1 parent 54f00e4 commit c5cd426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sentry.Unity.Editor/Native/BuildPostProcess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private static void UploadDebugSymbols(IDiagnosticLogger logger, string projectD
var fullPath = Path.Combine(projectDir, name);
if (Directory.Exists(fullPath) || File.Exists(fullPath))
{
paths += " " + name;
paths += $" \"{name}\"";
logger.LogDebug($"Adding '{name}' to the debug-info upload");
return true;
}
Expand Down

0 comments on commit c5cd426

Please sign in to comment.