Skip to content

Conversation

cristiangrama
Copy link

When a job is created in Laravel it get's a display name as whatever the job class is. The job key is the handler class with the suffix @handle. For example the class SomeJob will be displayed as SomeJob@handle. In order to get the right job name for logging purposes it is better to just use the class name instead. Adding the displayName to the created job payload will take care of that.

@cristiangrama cristiangrama force-pushed the fix-displayed-job-name branch 5 times, most recently from 6715092 to ca5fdc4 Compare June 1, 2019 03:09
Excludes the `@handle` that the `job` key has.
@cristiangrama cristiangrama force-pushed the fix-displayed-job-name branch from ca5fdc4 to 6480751 Compare June 1, 2019 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants