mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Change endpoint from persons to people
This commit is contained in:
14
backend/apis/nodejs/node_modules/knex/lib/util/save-async-stack.js
generated
vendored
Normal file
14
backend/apis/nodejs/node_modules/knex/lib/util/save-async-stack.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
module.exports = function saveAsyncStack(instance, lines) {
|
||||
if (instance.client.config.asyncStackTraces) {
|
||||
// a hack to get a callstack into the client code despite this
|
||||
// node.js bug https://github.com/nodejs/node/issues/11865
|
||||
|
||||
// Save error here but not error trace
|
||||
// reading trace with '--enable-source-maps' flag on node can be very costly
|
||||
|
||||
instance._asyncStack = {
|
||||
error: new Error(),
|
||||
lines,
|
||||
};
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user