Skip to content

Commit

Permalink
Merge pull request #531 from MindscapeHQ/sean/portable-pdb-extensions
Browse files Browse the repository at this point in the history
Add fully quality module name and remove the android handled
  • Loading branch information
xenolightning authored May 27, 2024
2 parents cd3a86c + b7306e3 commit 6678ade
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static RaygunErrorStackTraceLineMessage[] BuildStackTrace(StackTrace stac
methodName = GenerateMethodName(method);
className = method.ReflectedType != null ? method.ReflectedType.FullName : "(unknown)";
ilOffset = frame.GetILOffset();
debugInfo = TryGetDebugInformation(method.Module.Name);
debugInfo = TryGetDebugInformation(method.Module.FullyQualifiedName);

// This might fail in medium trust environments or for array methods,
// so don't crash the entire send process - just move on with what we have
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static RaygunErrorStackTraceLineMessage[] BuildStackTrace(StackTrace stac
methodName = GenerateMethodName(method);
className = method.ReflectedType != null ? method.ReflectedType.FullName : "(unknown)";
ilOffset = frame.GetILOffset();
debugInfo = TryGetDebugInformation(method.Module.Name);
debugInfo = TryGetDebugInformation(method.Module.FullyQualifiedName);

// This might fail in medium trust environments or for array methods,
// so don't crash the entire send process - just move on with what we have
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ private static void AndroidUnhandledExceptionHandler(object sender, object excep
{
var exceptionArgsType = exceptionArgs.GetType();
exception = (Exception)exceptionArgsType.GetProperty("Exception").GetValue(exceptionArgs);
exceptionArgsType.GetProperty("Handled")?.SetValue(exceptionArgs, true);
}
catch (Exception ex)
{
Expand Down

0 comments on commit 6678ade

Please sign in to comment.