Trap failed optimization.