removed else in try/except to test except raised