avoid confusion by removing the default of test image being shown even though it fails
#6
by sgbaird - opened
261 unmodified lines262263264265266267268269270261 unmodified lineslogger.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()def health_check():261 unmodified lines262263264265266267268269261 unmodified lineslogger.error(f"Failed to get image from URL: {response.status_code}")except Exception as e:logger.error(f"Error capturing image from URL: {e}")else:raise Exception("url is 'N/A'")def health_check():
app.py+2-3