Skip to content

Commit b48d654

Browse files
committed
Added debug log to API endpoint for loading ongoing visits
1 parent bb60ac9 commit b48d654

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/murfey/server/api/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,9 @@ def _add_tilt():
892892

893893
@router.get("/instruments/{instrument_name}/visits_raw", response_model=List[Visit])
894894
def get_current_visits(instrument_name: str, db=murfey.server.ispyb.DB):
895+
log.debug(
896+
f"Received request to look up ongoing visits for {sanitise(instrument_name)}"
897+
)
895898
return murfey.server.ispyb.get_all_ongoing_visits(instrument_name, db)
896899

897900

0 commit comments

Comments
 (0)