Robin Appelman 4 days ago
committed by GitHub
parent
commit
cdd49c17ce
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      apps/dav/lib/Connector/Sabre/File.php

4
apps/dav/lib/Connector/Sabre/File.php

@ -467,9 +467,9 @@ class File extends Node implements IFile {
if ($res === false) {
if ($this->fileView->file_exists($path)) {
throw new ServiceUnavailable($this->l10n->t('Could not open file: %1$s, file does seem to exist', [$path]));
throw new ServiceUnavailable($this->l10n->t('Could not open file: %1$s (%2$d), file does seem to exist', [$path, $this->info->getId()]));
} else {
throw new ServiceUnavailable($this->l10n->t('Could not open file: %1$s, file doesn\'t seem to exist', [$path]));
throw new ServiceUnavailable($this->l10n->t('Could not open file: %1$s (%2$d), file doesn\'t seem to exist', [$path, $this->info->getId()]));
}
}

Loading…
Cancel
Save