remove logging exception in builder.py