Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5d4718 commit 71e76ebCopy full SHA for 71e76eb
src/agrirouter/service/messaging/decoding.py
@@ -76,6 +76,8 @@ def decode_details(details: Any):
76
push_notification = PushNotification()
77
push_notification.MergeFromString(details.value)
78
return push_notification
79
+ elif not details.type_url:
80
+ # mainly a workaround for agrirouter 2 bug: https://github.com/DKE-Data/agrirouter/issues/11
81
+ return None
82
else:
-
83
raise CanNotDecodeMessage(f"Could not handle type {details.type_url} while decoding details.")
0 commit comments