Skip to content

Commit

Permalink
Merge pull request #130 from canonical/fix-local-image
Browse files Browse the repository at this point in the history
Fix crash when local image isn't found
  • Loading branch information
samhotep authored Aug 21, 2024
2 parents 9af1b6a + 807066b commit 51369d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dotrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import platform
import re
import sys
import time
import threading
import time
from importlib import metadata

# Packages
Expand Down Expand Up @@ -276,8 +276,8 @@ def _start_container_with_image(dotrun, image_uri, command_list):

print(f"Using image: {image_uri}")

# Download the image
dotrun._pull_image(image_uri, exit_on_download_error=True)
# Download the image, silently ignore download errors
dotrun._pull_image(image_uri, exit_on_download_error=False)

# Start dotrun from the supplied base image
try:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = 'dotrun'
version = '2.4.0'
version = '2.4.1'
description = 'A tool for developing Node.js and Python projects'
authors = ['Canonical Web Team <[email protected]>']
license = 'LGPL-3.0'
Expand Down

0 comments on commit 51369d2

Please sign in to comment.