Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

177
Views
Best practice, should I wrap getSessionStorage in a try catch

Background

I'm using session storage in an application I'm writing. I know that sometimes its not supported in very old browsers. In addition I guess there could be browser settings or extensions that can mess with session storage. As in stop something from being retrieved or saved etc. & crash the app.

Question

Can these outlying scenarios crash my app? And is it best to wrap a getSessionStorage in a try catch to gracefully fail?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!