Catch system command errors