API exceptions are logged in Orchard currently, was added in 1.8 I think. This is implemented in Orchard.Framework.WebApi.Filters, what you can simply copy to your 1.7.2 solution and thus backport it as far as I know.