loolwsd/PrisonerSession.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 55e6a766393d4e5568f6701692ff38fbd4553183 Author: Tor Lillqvist <t...@collabora.com> Date: Mon Oct 10 17:14:06 2016 +0300 If saving fails, tell it to the user VERY VISIBLY diff --git a/loolwsd/PrisonerSession.cpp b/loolwsd/PrisonerSession.cpp index ccedaec..2f08f63 100644 --- a/loolwsd/PrisonerSession.cpp +++ b/loolwsd/PrisonerSession.cpp @@ -86,7 +86,8 @@ bool PrisonerSession::_handleInput(const char *buffer, int length) result = resultObj->get("value").toString(); } - _docBroker->save(success, result); + if (!_docBroker->save(success, result)) + peer->sendTextFrame("error: cmd=internal kind=diskfull"); return true; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits