Log exception for WEBAPI application