Shopify / maintenance_tasks

A Rails engine for queueing and managing data migrations.
MIT License
1.05k stars 76 forks source link

Ensure task_context is never nil when error_handler is called #1059

Closed yjukaku closed 3 months ago

yjukaku commented 4 months ago

If @run.persist_error(error) raises an error, task_context is never assigned and then is nil when MaintenanceTasks.error_handler is called.

yjukaku commented 3 months ago

@adrianna-chang-shopify Done!