print error of each layer