(error: BaseException)
| 337 | |
| 338 | |
| 339 | def remote_error_message(error: BaseException) -> str: |
| 340 | if isinstance(error, URLError): |
| 341 | return f"remote image is unreachable: {error.reason}" |
| 342 | return f"remote image is unreachable: {error}" |
| 343 | |
| 344 | |
| 345 | def image_issue(article_path: Path, ref: ImageRef, *, staged: bool, args: argparse.Namespace, root: Path) -> str | None: |
no outgoing calls
no test coverage detected