Cosmetics. Put correct error message in debug entry.