Commit 8ef28b47 authored by Peter Jankuliak's avatar Peter Jankuliak
Browse files

Print debug if exception is thrown on Android

parent 5296de48
......@@ -94,14 +94,21 @@ void start_client_thread(const vector<string>& args, const vector<string>& extra
g_client = make_unique<ouinet::Client>(g_ios, move(cfg));
catch (std::exception& e) {
catch (const std::exception& e) {
debug("Failed to start Ouinet client:");
debug("%s", e.what());
try {;
catch (const std::exception& e) {
debug("Exception thrown from ouinet");
debug("%s", e.what());
debug("Ouinet's main loop stopped.");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment