restrict what exceptions we catch