samtfm commented on a change in pull request #13737:
URL: https://github.com/apache/superset/pull/13737#discussion_r604438785
##########
File path: superset/utils/screenshots.py
##########
@@ -151,13 +151,13 @@ def compute_and_cache( # pylint:
disable=too-many-arguments
try:
payload = self.get_screenshot(user=user, window_size=window_size)
except Exception as ex: # pylint: disable=broad-except
- logger.error("Failed at generating thumbnail %s", ex)
+ logger.warning("Failed at generating thumbnail %s", ex,
ex_info=True)
if payload and window_size != thumb_size:
try:
payload = self.resize_image(payload, thumb_size=thumb_size)
except Exception as ex: # pylint: disable=broad-except
- logger.error("Failed at resizing thumbnail %s", ex)
+ logger.warning("Failed at resizing thumbnail %s", ex,
ex_info=True)
Review comment:
oops, fixed!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]