Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bostonsre
on Nov 30, 2020
|
parent
|
context
|
favorite
| on:
Add variables to Python traceback
Yea, seems like a neat library but I'm not sure if it would be a good idea to turn it on for all stack traces globally. Could see issues like the one you mentioned and others like variables that are secrets that shouldn't be logged.
bostonsre
on Nov 30, 2020
[–]
Or.. I guess for your example you can set a max string length.
max_value_str_len max length of each variable string, -1 to disable, default=1000
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: