KV Store max value exceeded for put

I have a durable object worker which uses the KV storage for my application. I noticed the value limit on the put. I was wondering if there are conventions around how I can avoid this limit on a put. Currently, I'm looking to do a try-catch and inspect the error message which I've observed to be something like this:
"[RangeError] Values cannot be larger than 131072 bytes. A value of size 262150 was provided."


Would the try-catch + error message check be the conventional way to handle the put value limit?
Was this page helpful?