write all build exceptions to error.log