From 8eda2c7702998e9ada79b7932dc5ea6361122d3f Mon Sep 17 00:00:00 2001
From: baletiballo <75846481+baletiballo@users.noreply.github.com>
Date: Wed, 4 Dec 2024 08:39:43 +0100
Subject: [PATCH] Log exceptions via LogException()

---
 Assets/Scripts/UI/NetwMenu/StartMenu_mobile.cs | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/Assets/Scripts/UI/NetwMenu/StartMenu_mobile.cs b/Assets/Scripts/UI/NetwMenu/StartMenu_mobile.cs
index a2da1cc8..9c773644 100644
--- a/Assets/Scripts/UI/NetwMenu/StartMenu_mobile.cs
+++ b/Assets/Scripts/UI/NetwMenu/StartMenu_mobile.cs
@@ -57,10 +57,13 @@ void start2_CheckOS_CheckConfig()
         //Try to find existing Config:
         int configExists = 0;
         //Debug.Log("Load Streaming Asset");
-        try { NetworkJSON_Load_0(); configExists = 1; }
+        try { 
+            NetworkJSON_Load_0(); 
+            configExists = 1; 
+        }
         catch (Exception e)
         {
-            Debug.Log(e);
+            Debug.LogException(e);
         }
         //Debug.Log("Load Streaming Asset finished");
         //Debug.Log(checkPersistentDataPath());
@@ -71,7 +74,7 @@ void start2_CheckOS_CheckConfig()
         }
         catch (Exception e)
         {
-            Debug.Log(e);
+            Debug.LogException(e);
         }
 
 
@@ -87,7 +90,7 @@ void start2_CheckOS_CheckConfig()
             }
             catch (Exception e)
             {
-                Debug.Log(e);
+                Debug.LogException(e);
             }
         }
         else
-- 
GitLab