The Good, the Bad and the Unexpected/BBC

Jamie Dornan Hospitalized Last Year w/ Heart Attack Symptoms ... After Run-In w/ Caterpillar

Jamie Dornan apparently thought he was having a heart attack and might die last year after he started experiencing tell-tale symptoms for a heart attack ... but he was just buggin' out.

The actor's health scare was revealed through a friend of his -- Scottish broadcaster Gordon Smart -- during an appearance on the BBC's 'The Good, The Bad and The Unexpected'  ... where he told this wild story about him, Jamie and some other pals hitting Portugal last year.

After a night out, Smart says some in their group started to feel really sick the next day -- with GS getting sent to the hospital ... as he felt tingling in his hand and arm. Smart thought he was having a heart attack ... but was later told he'd been infected by a local caterpillar.

TMZ Studios

Specifically, Smart says he was told he must've come into contact with pine processionary moth caterpillars -- which have poisonous hairs all over their bodies, and which can infect humans. They're not usually deadly for people -- but they can, in fact, kill animals.

Anyway, he says when he got back to the hotel where Jamie was staying -- he saw JD, too, was hooked up to medical equipment ... and noted he'd suffered from the same symptoms.

Eventually, both of their symptoms cleared up -- and in terms of how they might've come into contact with these little buggers ... Smart says they seem to be all over golf courses there, which is where the boys were roaming just before coming down with their illnesses.

Jamie hasn't addressed the story himself. It's a wild world out there ... take precautions, y'all.

Click here for info about our online advertising practices.