Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
richardelms committed Dec 6, 2024
1 parent 47f642d commit 515522a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,19 @@ public override void Run()

private IEnumerator DoRun()
{
#if UNITY_2022_2_OR_NEWER
WWWForm form = new WWWForm();
form.AddField("data", "1234567890");
yield return BugsnagUnityWebRequest.Post(FAIL_URL, form).SendWebRequest();
#else
yield return BugsnagUnityWebRequest.Post(FAIL_URL, "1234567890").SendWebRequest();
#endif
yield return new WaitForSeconds(1);
BugsnagUnityWebRequest.Post(Main.MazeHost, "1234567890").SendWebRequest();
#if UNITY_2022_2_OR_NEWER
yield return BugsnagUnityWebRequest.Post(Main.MazeHost, form).SendWebRequest();
#else
yield return BugsnagUnityWebRequest.Post(Main.MazeHost, "1234567890").SendWebRequest();
#endif
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ public override void PreparePerformanceConfig(string apiKey, string host)

public override void Run()
{
#if UNITY_2022_2_OR_NEWER
WWWForm form = new WWWForm();
form.AddField("data", "1234567890");
BugsnagUnityWebRequest.Post(Main.MazeHost, form).SendWebRequest();
#else
BugsnagUnityWebRequest.Post(Main.MazeHost, "1234567890").SendWebRequest();
#endif
}

}

0 comments on commit 515522a

Please sign in to comment.