diff --git a/geonode/upload/handlers/xlsx/handler.py b/geonode/upload/handlers/xlsx/handler.py index d44e99cb586..f10563ff485 100644 --- a/geonode/upload/handlers/xlsx/handler.py +++ b/geonode/upload/handlers/xlsx/handler.py @@ -214,8 +214,8 @@ def pre_processing(self, files, execution_id, **kwargs): self._convert_to_csv(headers, rows_gen, output_file) except Exception as e: - logger.exception("XLSX Pre-processing failed") - raise InvalidInputFileException(detail=f"Failed to securely parse Excel: {str(e)}") + logger.exception(f"XLSX Pre-processing failed: {str(e)}") + raise InvalidInputFileException(detail="Failed to securely parse Excel.") # update the file path in the payload _data["files"]["base_file"] = output_file