Skip to content

Conversation

waseem-medhat
Copy link
Contributor

No description provided.

Copy link
Member

@squashd squashd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👑

Comment on lines 25 to 26
} catch (e) {
respondWithError(res, 500, "Couldn't authenticate user", e);
Copy link
Member

@squashd squashd Mar 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not consistent with this myself, but I think catch (err) is better than catch (e). Just a personal preference (which I often ignore myself)

@waseem-medhat waseem-medhat force-pushed the wm_refactor_error_handling branch from d13b336 to 395807f Compare March 14, 2025 13:41
@waseem-medhat waseem-medhat merged commit f00b130 into main Mar 14, 2025
Ephim135 pushed a commit to Ephim135/learn-cicd-typescript-starter that referenced this pull request Jun 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants