[improvement] give more information when a build fails