mirror of
https://github.com/mattermost/mattermost.git
synced 2026-10-30 22:55:29 +08:00
If GetJob fails, we would return a nil job and then try to log with that. To prevent this, we keep a reference to the old job and log with that in the error case. https://mattermost.atlassian.net/browse/MM-54580 ```release-note Fix a panic where a simple worker would crash if if failed to get a job. ```