crypto-market-extractor: fix error

Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
Alexis Pentori 2024-02-23 18:13:46 +01:00
parent ea863f8598
commit c18caac5ec
No known key found for this signature in database
GPG Key ID: 65250D2801E47A10
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: ce91e290-be98-4a34-b43b-28330afdc3c9
dockerImageTag: 0.1.0
dockerImageTag: 0.1.2
dockerRepository: harbor.status.im/status-im/airbyte/crypto-market-extractor
githubIssueLabel: source-crypto-market-extractor
icon: crypto-market-extractor.svg

View File

@ -54,7 +54,7 @@ class CoinPrice(HttpStream):
else:
logger.error("Invalid response from API, %s", market_chart)
raise "No correct data return"
except err:
except Exception as err:
logger.error('An error happened : %s', err)
yield data
# Source