add log output to FileUpload Fn

This commit is contained in:
2020-10-21 09:01:15 +02:00
parent 6dde3f7152
commit 138ee2145f
2 changed files with 5 additions and 1 deletions

View File

@ -416,6 +416,10 @@ sub FileUpload {
if ( $subprocess->{type} eq 'Nextcloud' ) {
my ($returnString,$returnCode) = ExecuteNCupload($subprocess);
Log3( $name, 5,
"backupToStorage ($name) - FileUpload Nextcloud, returnCode: $returnCode
, returnString: $returnString" );
$response->{ncUpload} = ( $returnCode == 72057594037927935
&& $returnString eq ''