Added logging to exception handling in EvaluationCtx