mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-25 23:36:22 +02:00
limit length of stringified arg_vals in exceptions
This commit is contained in:
@@ -138,7 +138,7 @@ def enforce_types(func):
|
|||||||
annotation.__name__,
|
annotation.__name__,
|
||||||
type(arg_val).__name__,
|
type(arg_val).__name__,
|
||||||
arg_key,
|
arg_key,
|
||||||
arg_val,
|
str(arg_val)[:64],
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user