try log inner exception during build