Skip to content

Paste should log warnings instead of crashing in production #3604

Discussion options

You must be logged in to vote

Hi @cdignam-segment

This is something we did in the older components of the system, we do it a lot less now and rely on type guards more.

It surprisingly hardly ever comes up, I think this is the second time in over 4 years, so we've never really seen the need to pull it out of some of the older components.

It is kind of annoying it doesn't throw a compile error though, so I'll at least add a ticket to remedy that first. We might pull the error throwing at that point once we're covered with adequate type guards.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nkrantz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
Fix/Change in Backlog DSYS has acknowledged this improvement and will update the thread with results when we prioritize it
3 participants