Hey,
I’m trying to catch an exception on Network.InitializeServer in a C# script, but rather than throwing the exception it is treating it like normal (just throwing the exception in the log and continuing)
There is a variable noError that you could use. Fact is I am not familiar with Network connection and the docs is actually quite poor on this as it does not show any example nor what is the type of noError.
Not sure I’m understanding the question. The code you’re showing would handle the exception by logging it, then it would continue on because you’ve handled it in catch. If you want to log the exception and then quit you need to re-raise the exception by calling throw e; after you’ve logged it.