Skip to content

Commit b787c85

Browse files
committed
workshop/ControlChannelServer: return false on permanent error
1 parent c90f4e3 commit b787c85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/workshop/ControlChannelServer.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ WorkshopControlChannelServer::OnControl(std::vector<std::string> &&args) noexcep
124124
} catch (...) {
125125
socket.Close();
126126
handler.OnControlPermanentError(std::current_exception());
127+
return false;
127128
}
128129
}
129130

0 commit comments

Comments
 (0)