Log all shell command exceptions