{
"errorType": "Error",
"errorMessage": "Cannot find module 'pg'\nRequire stack:\n- /var/task/index.js\n- /var/runtime/UserFunction.js\n- /var/runtime/index.js",
"trace": [
"Error: Cannot find module 'pg'",
"Require stack:",
"- /var/task/index.js",
"- /var/runtime/UserFunction.js",
"- /var/runtime/index.js",
" at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)",
" at Function.Module._load (internal/modules/cjs/loader.js:864:27)",
" at Module.require (internal/modules/cjs/loader.js:1044:19)",
" at require (internal/modules/cjs/helpers.js:77:18)",
" at getAllReports (/var/task/index.js:82:21)",
" at Runtime.exports.handler (/var/task/index.js:23:5)",
" at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)",
" at runNextTicks (internal/process/task_queues.js:62:5)",
" at processImmediate (internal/timers.js:429:9)"
]
}