You can not leave out the logError lines, otherwise no error will be shown on the commandline.