You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a value takes too long to generate, say more than 5 seconds, then the generator should be interrupted and an exception should be thrown (and caught to show to the user properly).
This should prevent users from accidentally freezing their IDE when they, say, generate an array of 9999 elements or a string of 14616742 characters (or both).
The text was updated successfully, but these errors were encountered:
The additional information was introduced by accident in #376 when implementing #373 to add a timeout for generating values. Error messages in the preview (and other places) would contain the full name of the exception that caused the error, which is completely unnecessary.
This fix was originally implemented in the `uds` branch, but I decided to add a "backports" branch for fixes I might want to release in a v2.x.x release before releasing v3.0.0.
If a value takes too long to generate, say more than 5 seconds, then the generator should be interrupted and an exception should be thrown (and caught to show to the user properly).
This should prevent users from accidentally freezing their IDE when they, say, generate an array of 9999 elements or a string of 14616742 characters (or both).
The text was updated successfully, but these errors were encountered: