Project

General

Profile

Actions

Bug #2630

closed

WebSocketChannel catches the wrong exceptions

Added by Davide Pesavento about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Faces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

In several places, WebSocketChannel tries to catch an exception of type websocketpp::lib::error_code, but the correct type is websocketpp::exception.

However, instead of just fixing the catch statement, I suggest switching to the non-throwing variants of the relevant functions.

Actions

Also available in: Atom PDF