f2fb71c
Fix NameError. Here, `task_id` was referenced before it was defined. This fixes that error and adds a little more color to the log statement.