A commercial flight with 326 people on-board was forced to make an emergency landing after the pilot accidentally spilled hot coffee over the cockpit control panel.
According to a report released by the UK Air Accidents Investigations Branch, the Airbus A330 was flying to Cancun, Mexico, from Frankfurt in Germany when the incident occurred.
With the hot liquid causing a strong electrical burning smell and smoke rising from the panel, the captain decided to divert and land at Shannon in Ireland.
The incident happened after a pilot put his coffee cup without a lid on a tray table rather than in a cup holder.
No one was injured during the accident, which happened in February.
Although the AAIB did not identify the airline, media at the time of the incident reported it to be charter operator, Thomas Cook Airlines.
The airline has since changed procedures to ensure that cup lids are provided for flights on all routes, and that crews are reminded of the need to use them.