Skip to content

Instantly share code, notes, and snippets.

@davetapley
Last active August 29, 2015 13:58
Show Gist options
  • Save davetapley/10164224 to your computer and use it in GitHub Desktop.
Save davetapley/10164224 to your computer and use it in GitHub Desktop.
Access array show in object by util.inspect, but not JSON.stringify
{
name: "error",
length: 97,
severity: "ERROR",
code: "42P01",
position: "13",
file: "parse_relation.c",
line: "873",
routine: "parserOpenTable"
}
{ [error: relation "visits" does not exist]
name: 'error',
length: 97,
severity: 'ERROR',
code: '42P01',
detail: undefined,
hint: undefined,
position: '13',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
file: 'parse_relation.c',
line: '873',
routine: 'parserOpenTable' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment