Skip to content
Snippets Groups Projects
Commit 8eda2c77 authored by baletiballo's avatar baletiballo
Browse files

Log exceptions via LogException()

parent 1209fc65
Branches
No related tags found
No related merge requests found
Pipeline #6490 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment