allow catching Rails exceptions