You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using wd desc and accidential using an ORCID instead of a wikidata ID
wd desc 0000-0001-6544-0435
i get a stacktrace. I think a normal error message "invalid id 0000-0001-6544-0435" would be more appropiate - the output already contains this information but it seems a bit verbose
.nvm/versions/node/v16.7.0/lib/node_modules/wikibase-cli/lib/errors.js:5
const err = new Error(message)
^
Error: invalid id
at Object.new (/Users/wf/.nvm/versions/node/v16.7.0/lib/node_modules/wikibase-cli/lib/errors.js:5:17)
at /Users/wf/.nvm/versions/node/v16.7.0/lib/node_modules/wikibase-cli/lib/tolerant_id_parser.js:33:20
at Array.map (<anonymous>)
at module.exports (/Users/wf/.nvm/versions/node/v16.7.0/lib/node_modules/wikibase-cli/lib/entity_data_parser.js:25:24)
at module.exports (/Users/wf/.nvm/versions/node/v16.7.0/lib/node_modules/wikibase-cli/lib/entity_attribute_command.js:19:3)
at Object.<anonymous> (/Users/wf/.nvm/versions/node/v16.7.0/lib/node_modules/wikibase-cli/bin/wb-description:2:43)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
context: {
input: '0000-0002-4679-2766',
allowNestedIds: false,
allowEntitiesSchemasIds: false
}
}
The text was updated successfully, but these errors were encountered:
When using wd desc and accidential using an ORCID instead of a wikidata ID
i get a stacktrace. I think a normal error message "invalid id 0000-0001-6544-0435" would be more appropiate - the output already contains this information but it seems a bit verbose
The text was updated successfully, but these errors were encountered: