1
0
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:
Nick Sweeting
2019-03-27 18:26:22 -04:00
parent 8b50fee0f5
commit cc3d1e9cc9

View File

@@ -138,7 +138,7 @@ def enforce_types(func):
annotation.__name__,
type(arg_val).__name__,
arg_key,
arg_val,
str(arg_val)[:64],
)
)