Always log errors with contextual information. You may skip this when letting the error bubble up to be handled by a higher-level component or function. Use try/catch ...