Catching and logging cas validate ticket error