Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Question Show custom errors in Exception Reporting

Discussion in 'Unity Cloud Diagnostics' started by Hazneliel, Oct 25, 2022.

  1. Hazneliel

    Hazneliel

    Joined:
    Nov 14, 2013
    Posts:
    308
    Hello
    I have a bunch of LogError in my code and I would like to see them on the Exception Report, however there are only exceptions there.

    Is there a way I can log my custom errors or custom Exceptions so they appear in the Exception Report?

    Thanks
     
  2. sasq64

    sasq64

    Joined:
    Jan 28, 2018
    Posts:
    13
    You could catch the errors with a log handler and convert them to LogException()