The mid-flight scare unfolded at 31,000 feet after the “Silver Linings Playbook” star had departed her hometown of Louisville, Kentucky. That’s when one of the plane’s engines gave out, ET noted. During the actual landing, the plane’s second engine failed as well.

The 26-year-old Lawrence was uninjured.

A spokeswoman for the Niagara Frontier Transportation Authority told the Buffalo News that the jet was en route to Teterboro Airport in New Jersey when it was diverted to Buffalo Niagara International Airport at 1:15 p.m. because of the suspected engine failure.

The aircraft containing two crew members, Lawrence and another passenger landed safely while emergency vehicles stood by, according to outlets.