From 6840e1e7eb4fb917deaa5e4d461ef323fb33f8b2 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Thu, 7 Aug 2025 18:37:18 -0400 Subject: [PATCH] fix: Better description for InvalidProtocolException fixes: #8830 --- src/lib/deskflow/DeskflowException.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/deskflow/DeskflowException.cpp b/src/lib/deskflow/DeskflowException.cpp index 486b0d426..27942c4c8 100644 --- a/src/lib/deskflow/DeskflowException.cpp +++ b/src/lib/deskflow/DeskflowException.cpp @@ -24,7 +24,9 @@ std::string BadClientException::getWhat() const throw() std::string InvalidProtocolException::getWhat() const throw() { - return "InvalidProtocolException"; + return "InvalidProtocolException; Check the options section of the server " + "configuration file has a valid protocol defined.\nProtocol must be barrier (default) or synergy." + "\n Ex:\nsection: options\n\tprotocol = barrier\nend\n"; } //