Merge pull request #1268 from mulesoft/MULE-8052

MULE-8052 - returning status code based on the exception type when no sp...
(cherry picked from commit db308d5913e15d9d7a5dd34d8c8deaca29ec4e16)