From 48610a36a493cdd541610f730bdb0b4879a7c256 Mon Sep 17 00:00:00 2001 From: Andrew Krug Date: Thu, 6 Jun 2019 08:33:57 -0700 Subject: [PATCH] fix updated_at regression --- src/oic/oauth2/message.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/oic/oauth2/message.py b/src/oic/oauth2/message.py index a78eb105a..2df245a42 100644 --- a/src/oic/oauth2/message.py +++ b/src/oic/oauth2/message.py @@ -353,9 +353,11 @@ def _add_value(self, skey, vtyp, key, val, _deser, null_allowed): if vtyp is bool: self._dict[skey] = val else: - raise ValueError( - '"{}", wrong type of value for "{}"'.format(val, skey) - ) + pass + logger.warn('"{}", wrong type of value for "{}"'.format(val, skey)) + #raise ValueError( + # '"{}", wrong type of value for "{}"'.format(val, skey) + #) elif isinstance(val, vtyp): # Not necessary to do anything self._dict[skey] = val else: