Removed superfluous try-except block.