Removed unused try-except