Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
fhood
7y ago
0 comments
Share
What about, log_panic("If we have somehow managed to hit this code path, this project if FUBAR. I would recommend giving up and starting over.")
0 comments
default
newest
oldest
btschaegg
7y ago
Somehow reminds me of Aliens:
I say we take off and nuke the entire site from orbit. It's the only way to be sure.
:-)
m_samuel_l
7y ago
That's annoying but fine as long as it's unique and you can grep it in the codebase.
fao_
7y ago
You can forgo something being unique if you just append line and file information to the log. Literally any logging framework (even homerolled ones) should give you this by default.
fhood
OP
7y ago
yup
j
/
k
navigate · click thread line to collapse