[Libreoffice-commits] online.git: loolwsd/LOOLSession.cpp
Jan Holesovsky
kendy at collabora.com
Tue Aug 11 09:32:45 PDT 2015
loolwsd/LOOLSession.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 2e6bb943957aa6b8d2e916343bcaf01dea112480
Author: Jan Holesovsky <kendy at collabora.com>
Date: Tue Aug 11 18:31:50 2015 +0200
More consistent error report.
diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp
index ecf65e9..d5282df 100644
--- a/loolwsd/LOOLSession.cpp
+++ b/loolwsd/LOOLSession.cpp
@@ -381,7 +381,7 @@ bool MasterProcessSession::loadDocument(const char *buffer, int length, StringTo
}
catch(Poco::SyntaxException&)
{
- sendTextFrame("error: cmd=load kind=URI invalid syntax");
+ sendTextFrame("error: cmd=load kind=uriinvalid");
return false;
}
@@ -771,13 +771,13 @@ bool ChildProcessSession::loadDocument(const char *buffer, int length, StringTok
}
catch(Poco::SyntaxException&)
{
- sendTextFrame("error: cmd=load kind=URI invalid syntax");
+ sendTextFrame("error: cmd=load kind=uriinvalid");
return false;
}
if (aUri.empty())
{
- sendTextFrame("error: cmd=load kind=URI empty");
+ sendTextFrame("error: cmd=load kind=uriempty");
return false;
}
More information about the Libreoffice-commits
mailing list