Better HN
topnewbestaskshowjobs
Log inSign up

stefco

1 karma · joined Jun 4, 2016 (10y ago) · 1 submissions

Submissions

comment 10y ago · link · parent

Except `set -e` (along with pipefail) is exactly what prevents you from implicitly catching failures, forcing you to be explicit (rather than implicit) with your error-handling, which is closer to how Python itself deals with unhandled exceptions. It has its limitations and caveats, and you can accomplish the same goals somewhat differently, but it is inaccurate to say that using `set -e` is tantamount to doing things implicitly.