diff --git a/batch_example/batch_example.module b/batch_example/batch_example.module
index bd6d687..f16509e 100644
--- a/batch_example/batch_example.module
+++ b/batch_example/batch_example.module
@@ -275,7 +275,8 @@ function batch_example_finished($success, $results, $operations) {
           '@operation' => $error_operation[0],
           '@args' => print_r($error_operation[0], TRUE),
         )
-      )
+      ),
+      'error'
     );
   }
 }
