catch elastica exception