Replaced catching of Throwable with Exception since it includes errors