Do I need to handle errors with supabase update command?

Hi, basic question, but do I need to handle errors here to prevent my app from crashing?
  useEffect(() => {
    if (user && cookies.affiliate) {
      supabase
        .from('users')
        .update({ referred_by: cookies.affiliate })
        .eq('id', user.id);
    }
  }, [user, cookies]);

I don't need to present user with anything, if it fails it fails, but I just don't want my app to crash.
Was this page helpful?