Handle localStorage quota exceeded errors gracefully