Add error detail logs.