1
0
mirror of synced 2026-01-09 15:02:41 -05:00

Merge pull request #26858 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2023-07-17 14:02:02 -07:00
committed by GitHub

View File

@@ -137,7 +137,7 @@ async function main(opts, args) {
// All ElasticsearchClientError error subclasses have a `name` and
// `message` but only some have a `meta`.
if (error.meta) {
console.error(`Error meta: ${error.meta}`)
console.error('Error meta: %O', error.meta)
}
throw new Error(error.message)
}