avoid confusion by removing the default of test image being shown even though it fails
#6
by sgbaird - opened
261 unmodified lines262263264265266267265266267268269261 unmodified lines logger.error(f"Failed to get image from URL: {response.status_code}") except Exception as e: logger.error(f"Error capturing image from URL: {e}")
logger.info("URL capture failed or not provided, using random test image") return get_test_image() else: raise Exception("url is 'N/A'")
def health_check():app.py+2-3