Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9696752
D7986.id28774.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
608 B
Subscribers
None
D7986.id28774.diff
View Options
diff --git a/swh/graphql/resolvers/base_connection.py b/swh/graphql/resolvers/base_connection.py
--- a/swh/graphql/resolvers/base_connection.py
+++ b/swh/graphql/resolvers/base_connection.py
@@ -119,7 +119,7 @@
# different implementation is used in SnapshotBranchConnection
try:
cursor = utils.get_decoded_cursor(self.kwargs.get("after"))
- except (UnicodeDecodeError, binascii.Error, Exception) as e:
+ except (UnicodeDecodeError, binascii.Error) as e:
raise PaginationError("Invalid value for argument 'after'", errors=e)
return cursor
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 17, 9:18 PM (2 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219255
Attached To
D7986: Remove unnecessary base exception
Event Timeline
Log In to Comment