print the pollAPI execption