Add Rainforest Eagle tests and price (#54887)

This commit is contained in:
Paulus Schoutsen 2021-08-19 13:19:31 -07:00 committed by GitHub
parent 6eadc0c303
commit f1a4ba8bb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 246 additions and 55 deletions

View file

@ -242,10 +242,9 @@ class DataUpdateCoordinator(Generic[T]):
except Exception as err: # pylint: disable=broad-except
self.last_exception = err
self.last_update_success = False
if log_failures:
self.logger.exception(
"Unexpected error fetching %s data: %s", self.name, err
)
self.logger.exception(
"Unexpected error fetching %s data: %s", self.name, err
)
else:
if not self.last_update_success: