Skip to content

Commit

Permalink
Handle import error when missing dep, fixes #241
Browse files Browse the repository at this point in the history
  • Loading branch information
painebot committed Feb 18, 2025
1 parent 115edb7 commit a024b6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jupyterfs/metamanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ def initResource(self, *resources, options={}):
resource.get("name"),
)
errors.append(str(e))
except ImportError as e:
self.log.exception(
"Missing dependencies to create manager for resource %r",
resource.get("name"),
)
errors.append(str(e))

# assemble resource from spec + hash
newResource = {}
Expand Down

0 comments on commit a024b6d

Please sign in to comment.