Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable27] log error when default getWrapperStorage would return null #44419

Merged
merged 2 commits into from
Mar 23, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Mar 22, 2024

Backport of PR #44357

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@backportbot backportbot bot added the 3. to review Waiting for reviews label Mar 22, 2024
@backportbot backportbot bot added this to the Nextcloud 27.1.8 milestone Mar 22, 2024
*/
if (!$this->storage) {
$message = "no storage set after init for share " . $this->getShareId();
$this->logger->error($message);

Check notice

Code scanning / Psalm

DeprecatedMethod Note

The method OCP\ILogger::error has been marked as deprecated
@skjnldsv skjnldsv merged commit 0014260 into stable27 Mar 23, 2024
35 of 37 checks passed
@skjnldsv skjnldsv deleted the backport/44357/stable27 branch March 23, 2024 09:32
@skjnldsv skjnldsv mentioned this pull request Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants