Catch any exceptions rather than propagate them