Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/murfey/client/contexts/spa.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,8 +785,11 @@
foil_hole: Optional[int] = self._position_analysis(
transferred_file, environment, source, machine_config
)
except Exception:
except Exception as e:

Check warning on line 788 in src/murfey/client/contexts/spa.py

View check run for this annotation

Codecov / codecov/patch

src/murfey/client/contexts/spa.py#L788

Added line #L788 was not covered by tests
# try to continue if position information gathering fails so that movie is processed anyway
logger.warning(

Check warning on line 790 in src/murfey/client/contexts/spa.py

View check run for this annotation

Codecov / codecov/patch

src/murfey/client/contexts/spa.py#L790

Added line #L790 was not covered by tests
f"Unable to register foil hole for {str(file_transferred_to)}. Exception: {str(e)}"
)
foil_hole = None

preproc_url = f"{str(environment.url.geturl())}/visits/{environment.visit}/{environment.murfey_session}/spa_preprocess"
Expand Down
6 changes: 5 additions & 1 deletion src/murfey/server/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,11 @@
.one()[0]
.id
)
except Exception:
except Exception as e:
log.warning(

Check warning on line 1139 in src/murfey/server/api/__init__.py

View check run for this annotation

Codecov / codecov/patch

src/murfey/server/api/__init__.py#L1138-L1139

Added lines #L1138 - L1139 were not covered by tests
f"Foil hole ID not found for foil hole {sanitise(str(proc_file.foil_hole_id))}: {e}",
exc_info=True,
)
foil_hole_id = None
if proc_params:

Expand Down
Loading