From 715f189eef9b3b8a758fac0aa13084b495f61c0f Mon Sep 17 00:00:00 2001 From: nikolas Date: Fri, 5 Apr 2024 13:50:06 -0400 Subject: [PATCH] Fix missing cookie exception message The `%s` in this string is being rendered out and not being used for the variable given to this f-string. --- pylti1p3/message_launch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylti1p3/message_launch.py b/pylti1p3/message_launch.py index 4143900..6f6651d 100644 --- a/pylti1p3/message_launch.py +++ b/pylti1p3/message_launch.py @@ -775,7 +775,7 @@ def set_launch_data_storage( if session_id: data_storage.set_session_id(session_id) else: - raise LtiException(f"Missing %s cookie {session_cookie_name}") + raise LtiException(f"Missing cookie: {session_cookie_name}") self._session_service.set_data_storage(data_storage) return self