Fixed bug in emitted code for try/catch in private endpoint methods. Was emitting completeCallResult instead of network exception.