Limit the size of error data

I doubt there'd ever be this much, but it's better to be safe.