Skip to content

Commit

Permalink
Merge pull request #717 from girder/reduce-dependencies
Browse files Browse the repository at this point in the history
Reduce dependencies.
  • Loading branch information
manthey authored Dec 7, 2021
2 parents 92a4400 + 155b250 commit 7766059
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions girder/girder_large_image/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import girder
import large_image
from girder import events
from girder import events, logger
from girder.constants import AccessType
from girder.exceptions import ValidationException
from girder.models.file import File
Expand Down Expand Up @@ -297,7 +297,10 @@ class LargeImagePlugin(GirderPlugin):
CLIENT_SOURCE_PATH = 'web_client'

def load(self, info):
getPlugin('worker').load(info)
try:
getPlugin('worker').load(info)
except Exception:
logger.debug('worker plugin is unavailable')

unbindGirderEventsByHandlerName('large_image')

Expand Down

0 comments on commit 7766059

Please sign in to comment.