log more detail errors