void mfd::ProtobufMessageProcessor::send_response( ... 133 - 134 - sender->send(send_response_buffer); 135 + try 136 + { 137 + sender->send(send_response_buffer, fd_sets); 138 + } 139 + catch (std::exception const& error) 140 + { 141 + report->exception_handled(display_server.get(), 142 + id, error); 143 + } 144 }
Exceptions should not be eaten here. They should propagate to ProtobufMessageProcessor::dispatch() - which handles them correctly.
« Back to merge proposal
void mfd::ProtobufMe ssageProcessor: :send_response( >send(send_ response_ buffer) ; >send(send_ response_ buffer, fd_sets); >exception_ handled( display_ server. get(),
...
133 -
134 - sender-
135 + try
136 + {
137 + sender-
138 + }
139 + catch (std::exception const& error)
140 + {
141 + report-
142 + id, error);
143 + }
144 }
Exceptions should not be eaten here. They should propagate to ProtobufMessage Processor: :dispatch( ) - which handles them correctly.