Proper error printing in dumpast.