Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Even though there are valid use cases for having catch-all clauses, I see people forget about properly handling SystemExit exception. If your service receives SIGTERM from the scheduler, you need to capture it and gracefully handle the shutdown instead of swallowing it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: