Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix redis connection error message#38359

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

@alexander-schranz
Copy link
Contributor

@alexander-schranzalexander-schranz commentedSep 30, 2020
edited
Loading

Use correct instance of redis to getLastError

QA
Branch?4.4 (for 4.3 see#38358)
Bug fix?no
New feature?no
Deprecations?no
TicketsFix #...
LicenseMIT
Doc PRsymfony/symfony-docs#...

Same as#38358 but handles also the dbindex error correctly.

The$redis is only set in the tests, the correct redis instance is available under$this->connection.

Reproduce: give a falseAUTH to the redis:

Before:

[Error]
Call to a member function getLastError() on null

Now:

[Symfony\Component\Messenger\Exception\InvalidArgumentException]
Redis connection failed: ERR Client sent AUTH, but no password is set

In 5.x this class was moved hope git will handle it correctly.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@srozesrozeAwaiting requested review from sroze

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@alexander-schranz@nicolas-grekas@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp