Putting a text longer than 150 chars in the Preview component (which is not recommended) results in a RangeError: Invalid count value. The error could be more descriptive in the sense that a length of 90 is recommended and 150 is the maximum.
Hey man, I totally agree that a better error message could be returned and I got this updated in a forked community run repo called Svelty-email. if you would like to check it out.
Putting a text longer than 150 chars in the Preview component (which is not recommended) results in a
RangeError: Invalid count value
. The error could be more descriptive in the sense that a length of 90 is recommended and 150 is the maximum.https://github.com/carstenlebek/svelte-email/blob/c7456ba19b464c253f0f8a13d039e11f5f4d04b8/src/lib/components/Preview.svelte#L12