Skip to content

Commit

Permalink
chore: fix example app compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
fractalwrench committed Mar 11, 2019
1 parent 5465b5e commit 5202843
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions example/Assets/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

public class Main : MonoBehaviour
{

#if UNITY_EDITOR
[MenuItem("Build/Build iOS")]
public static void iOSBuild()
Expand Down Expand Up @@ -119,10 +120,10 @@ private void OnDivideByZeroClick()
private void OnNotifyClick()
{
Debug.Log ("Notify clicked");
// BugsnagUnity.Bugsnag.Client.Notify(new Exception ("Notify clicked!"), report =>
// {
// report.Event.Context = "NotifyClicked";
// });
BugsnagUnity.Bugsnag.Client.Notify(new Exception ("Notify clicked!"), report =>
{
report.Context = "NotifyClicked";
});
}

private void OnManagedCrashClick()
Expand Down

0 comments on commit 5202843

Please sign in to comment.