Skip to content

Commit 4f66af6

Browse files
authored
fix argument order (getsentry#1904)
1 parent f1b87dd commit 4f66af6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package-dev/Runtime/SentryInitialization.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ public static void Init()
7575
}
7676
catch (DllNotFoundException e)
7777
{
78-
options.DiagnosticLogger?.LogError(
78+
options.DiagnosticLogger?.LogError(e,
7979
"Sentry native-error capture configuration failed to load a native library. This usually " +
80-
"means the library is missing from the application bundle or the installation directory.", e);
80+
"means the library is missing from the application bundle or the installation directory.");
8181
}
8282
catch (Exception e)
8383
{
84-
options.DiagnosticLogger?.LogError("Sentry native error capture configuration failed.", e);
84+
options.DiagnosticLogger?.LogError(e, "Sentry native error capture configuration failed.");
8585
}
8686

8787
SentryUnity.Init(options);

0 commit comments

Comments
 (0)