Print exception data when failing to build