@@ -43,18 +43,13 @@ module Agents |
||
| 43 | 43 |
end |
| 44 | 44 |
|
| 45 | 45 |
def fetch_stubhub_data(url) |
| 46 |
- begin |
|
| 47 |
- StubhubFetcher.call(url) |
|
| 48 |
- rescue |
|
| 49 |
- log("There was an error fetching data for your StubHub Event")
|
|
| 50 |
- end |
|
| 46 |
+ StubhubFetcher.call(url) |
|
| 51 | 47 |
end |
| 52 | 48 |
|
| 53 | 49 |
class StubhubFetcher |
| 54 | 50 |
|
| 55 | 51 |
def self.call(url) |
| 56 | 52 |
new(url).fields |
| 57 |
- |
|
| 58 | 53 |
end |
| 59 | 54 |
|
| 60 | 55 |
def initialize(url) |