diff --git a/includes/FeedsBatch.inc b/includes/FeedsBatch.inc
index ae5595a255857465ab5d91cd3385ac6ee461d59a..c39ffd21652bf649ca461c1b5f594e17942df263 100644
--- a/includes/FeedsBatch.inc
+++ b/includes/FeedsBatch.inc
@@ -42,7 +42,7 @@ class FeedsImportBatch {
         feeds_include_library('http_request.inc', 'http_request');
         $result = http_request_get($this->url);
         if ($result->code != 200) {
-          throw new Exception(t('Download of @url failed with code !code.', array('@url' => $url, '!code' => $result->code)));
+          throw new Exception(t('Download of @url failed with code !code.', array('@url' => $this->url, '!code' => $result->code)));
         }
         $this->raw = $result->data;
       }