crypto-market-extractor: fix error
Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
parent
ea863f8598
commit
c18caac5ec
|
@ -10,7 +10,7 @@ data:
|
||||||
connectorSubtype: api
|
connectorSubtype: api
|
||||||
connectorType: source
|
connectorType: source
|
||||||
definitionId: ce91e290-be98-4a34-b43b-28330afdc3c9
|
definitionId: ce91e290-be98-4a34-b43b-28330afdc3c9
|
||||||
dockerImageTag: 0.1.0
|
dockerImageTag: 0.1.2
|
||||||
dockerRepository: harbor.status.im/status-im/airbyte/crypto-market-extractor
|
dockerRepository: harbor.status.im/status-im/airbyte/crypto-market-extractor
|
||||||
githubIssueLabel: source-crypto-market-extractor
|
githubIssueLabel: source-crypto-market-extractor
|
||||||
icon: crypto-market-extractor.svg
|
icon: crypto-market-extractor.svg
|
||||||
|
|
|
@ -54,7 +54,7 @@ class CoinPrice(HttpStream):
|
||||||
else:
|
else:
|
||||||
logger.error("Invalid response from API, %s", market_chart)
|
logger.error("Invalid response from API, %s", market_chart)
|
||||||
raise "No correct data return"
|
raise "No correct data return"
|
||||||
except err:
|
except Exception as err:
|
||||||
logger.error('An error happened : %s', err)
|
logger.error('An error happened : %s', err)
|
||||||
yield data
|
yield data
|
||||||
# Source
|
# Source
|
||||||
|
|
Loading…
Reference in New Issue