LPS-38141 Handle errors for Tika exceptions

since tika is 3rd party and we cant resolve the issue ourselves, the customer has asked for better exception handling