aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/CConn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/CConn.cxx')
-rw-r--r--vncviewer/CConn.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx
index ebdfbe87..b1f97b98 100644
--- a/vncviewer/CConn.cxx
+++ b/vncviewer/CConn.cxx
@@ -277,8 +277,7 @@ void CConn::socketEvent(FL_SOCKET fd, void *data)
}
} catch (rdr::Exception& e) {
vlog.error("%s", e.str());
- abort_connection(_("An unexpected error occurred when communicating "
- "with the server:\n\n%s"), e.str());
+ abort_connection_with_unexpected_error(e);
}
when = FL_READ | FL_EXCEPT;