Catch problem sample types and added logging output.