diff --git a/src/openflexure_microscope_server/logging.py b/src/openflexure_microscope_server/logging.py index 5ecd8a6d..47c767ff 100644 --- a/src/openflexure_microscope_server/logging.py +++ b/src/openflexure_microscope_server/logging.py @@ -86,7 +86,7 @@ def configure_logging(log_folder: str, debug: bool = False) -> None: ) -def retrieve_log() -> PlainTextResponse: +def retrieve_log() -> JSONResponse: """Return logs since the server started, up to a maximum of 250 messages. This log is the one shown in the UI and on the logging page.