Setting a property with a long string now outputs a indescriptive error

The Issue:
Previously if you tried to set a string property with a string over 200k characters you would get the following message
stringtoolong
Now when you try to set it you get the following error


Which is incredibly unhelpful and confusing to the user/developer receiving the error.

Reproduction steps:
Run the following script in the command bar: Instance.new("Script").Source = string.rep("a", 200000)

Expected behavior

For the previous behavior to be still there, a much more informative error message than we currently get.

2 Likes

Thanks for the report! We’ll follow up when we have an update for you.

1 Like

We’ve deployed a fix for this, please let us know if you have any questions. Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.