improved problems reporting in apidoc command