Skip to content

Commit

Permalink
revert oder of arguments (#1901)
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandfoxes authored Nov 15, 2024
1 parent 3649f0a commit 3ea14cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Sentry.Unity.Native/SentryNative.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static void Configure(SentryUnityOptions options, ISentryUnityInfo sentry
}
catch (Exception e)
{
Logger?.LogError("Sentry native initialization failed - native crashes are not captured.", e);
Logger?.LogError(e, "Sentry native initialization failed - native crashes are not captured.");
return;
}

Expand Down Expand Up @@ -111,7 +111,7 @@ private static void ReinstallBackend()
}
catch (EntryPointNotFoundException e)
{
Logger?.LogError("Native dependency not found. Did you delete sentry.dll or move files around?", e);
Logger?.LogError(e, "Native dependency not found. Did you delete sentry.dll or move files around?");
}
}
}

0 comments on commit 3ea14cc

Please sign in to comment.