[pergola] deleting prints and error msg more informative