-
Notifications
You must be signed in to change notification settings - Fork 431
BugFix - Added missing connectionName. #118
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
Conversation
|
|
||
| if ($message instanceof AMQPMessage) { | ||
| return new RabbitMQJob($this->container, $this, $this->channel, $queue, $message); | ||
| return new RabbitMQJob($this->container, $this, $this->channel, $queue, $message, $this->connectionName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line exceeds 120 characters; contains 121 characters
|
|
||
| if ($message instanceof AMQPMessage) { | ||
| return new RabbitMQJob($this->container, $this, $this->channel, $queue, $message); | ||
| return new RabbitMQJob($this->container, $this, $this->channel, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opening parenthesis of a multi-line function call must be the last content on the line
Only one argument is allowed per line in a multi-line function call
| if ($message instanceof AMQPMessage) { | ||
| return new RabbitMQJob($this->container, $this, $this->channel, $queue, $message); | ||
| return new RabbitMQJob($this->container, $this, $this->channel, | ||
| $queue, $message, $this->connectionName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multi-line function call not indented correctly; expected 16 spaces but found 20
Only one argument is allowed per line in a multi-line function call
Closing parenthesis of a multi-line function call must be on a line by itself
|
@vladimir-yuldashev will you move the 5.4 tag to include this? |
|
@sazo Yes, a bit later as soon I will get to my computer. Did you test that driver still works? 😂 |
|
@vladimir-yuldashev Np - yeah i tested it on our development environment ;) |
|
love the driver btw! :) |
|
@sazo Released. |
When calling $this->fail() inside a RabbitMQ job it fails because the connectionName is NULL.
I have looked at how core laravel jobs does it and this is how. :)
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'connection' cannot be null (SQL: insert into failed_jobs (connection, queue, payload, exception, failed_at) .....