Skip to content

Commit c55dc22

Browse files
committed
Add warning log for when foil hole registration fails
1 parent 1c5667d commit c55dc22

File tree

1 file changed

+4
-1
lines changed
  • src/murfey/client/contexts

1 file changed

+4
-1
lines changed

src/murfey/client/contexts/spa.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,8 +785,11 @@ def post_transfer(
785785
foil_hole: Optional[int] = self._position_analysis(
786786
transferred_file, environment, source, machine_config
787787
)
788-
except Exception:
788+
except Exception as e:
789789
# try to continue if position information gathering fails so that movie is processed anyway
790+
logger.warning(
791+
f"Unable to register foil hole for {str(file_transferred_to)}. Exception: {str(e)}"
792+
)
790793
foil_hole = None
791794

792795
preproc_url = f"{str(environment.url.geturl())}/visits/{environment.visit}/{environment.murfey_session}/spa_preprocess"

0 commit comments

Comments
 (0)