Adds warning log for exceptions in function eval