|
@@ -47,7 +47,7 @@ discard block |
|
|
block discarded – undo |
|
47
|
47
|
$this->getCrawler(); |
|
48
|
48
|
|
|
49
|
49
|
if (!$this->crawler->enabled) { |
|
50
|
|
- throw new CrawlerException('Crawler (#' . $this->crawler_id . ') - crawler isnt enabled in database'); |
|
|
50
|
+ throw new CrawlerException('Crawler (#'.$this->crawler_id.') - crawler isnt enabled in database'); |
|
51
|
51
|
} |
|
52
|
52
|
|
|
53
|
53
|
|
|
@@ -65,7 +65,7 @@ discard block |
|
|
block discarded – undo |
|
65
|
65
|
|
|
66
|
66
|
|
|
67
|
67
|
if ($this->crawler->latest_status == 3) { |
|
68
|
|
- throw new CrawlerException('Crawler (#' . $this->crawler_id . ') - last run had an error'); |
|
|
68
|
+ throw new CrawlerException('Crawler (#'.$this->crawler_id.') - last run had an error'); |
|
69
|
69
|
} |
|
70
|
70
|
} else { |
|
71
|
71
|
throw new CrawlerNotReachedTimeBetweenJobsException('Has to wait '.$checkIfCrawlerCanBeRunned['retry_in'].' more seconds to run'); |
Please login to merge, or discard this patch.