Skip to content

Commit

Permalink
Format file and return on error
Browse files Browse the repository at this point in the history
  • Loading branch information
konraddysput committed Jan 24, 2025
1 parent 64dbf02 commit f599eb0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Runtime/Native/Windows/NativeClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,12 @@ private void HandleNativeCrashes(IDictionary<string, string> clientAttributes, I
databasePath,
crashpadHandlerPath,
attachments.ToArray(),
attachments.Count() );
attachments.Count());
}
catch ( DllNotFoundException )
catch (DllNotFoundException)
{
Debug.LogWarning("Backtrace native integration status: Can't load Backtrace DLL");
return;
}

if (!CaptureNativeCrashes)
Expand Down Expand Up @@ -269,7 +270,7 @@ public IEnumerator SendMinidumpOnStartup(ICollection<string> clientAttachments,
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), tempDirectory),
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), tempDirectory)
};

List<string> nativeCrashesDirs = new List<string>();
foreach (string direcotry in crashDirectories)
{
Expand Down

0 comments on commit f599eb0

Please sign in to comment.