print error message on failure
print level links