ucb/source/ucp/gio/gio_content.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
New commits: commit 653e9627828adafc833fd179cea495f4b6e409ce Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue Feb 16 11:40:48 2021 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Feb 18 13:36:13 2021 +0100 More verbose GIO transfer failure information Change-Id: Id379a545017d1574e1253ef7c1a9dac49f87b043 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111105 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx index 5a5bf05a32cd..cfce60270c27 100644 --- a/ucb/source/ucp/gio/gio_content.cxx +++ b/ucb/source/ucp/gio/gio_content.cxx @@ -1098,8 +1098,13 @@ void Content::transfer( const css::ucb::TransferInfo& aTransferInfo, const css:: bSuccess = g_file_copy(pSource, pDest, DEFAULT_COPYDATA_FLAGS, nullptr, nullptr, nullptr, &pError); g_object_unref(pSource); g_object_unref(pDest); - if (!bSuccess) + if (!bSuccess) { + SAL_INFO( + "ucb.ucp.gio", + "transfer <" << aTransferInfo.SourceURL << "> to <" << sDest << "> (MoveData = " + << int(aTransferInfo.MoveData) << ") failed with \"" << pError->message << "\""); ucbhelper::cancelCommandExecution(mapGIOError(pError), xEnv); + } } css::uno::Sequence< css::ucb::ContentInfo > Content::queryCreatableContentsInfo( _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits