[2022-02-21T10:18:29.051] [ERROR] errorLogger -
|
*************** error log start ***************
|
request method: GET
|
request originalUrl: /dataservice/Bdata?bid=get_pci_msg
|
request client ip: ::1
|
request query: {"bid":"get_pci_msg"}
|
response time: 206
|
err name: TypeError
|
err message: Cannot read property 'getConnection' of undefined
|
err stack: TypeError: Cannot read property 'getConnection' of undefined
|
at D:\github\API\server\utils\mysql_db.js:83:25
|
at new Promise (<anonymous>)
|
at Object.query_data (D:\github\API\server\utils\mysql_db.js:82:10)
|
at Object.bdata (D:\github\API\server\models\dataapi.js:66:33)
|
at processTicksAndRejections (internal/process/task_queues.js:93:5)
|
at async D:\github\API\server\routes\dataapi.js:16:11
|
at async D:\github\API\server\app.js:134:3
|
at async cors (D:\github\API\server\node_modules\koa2-cors\dist\index.js:36:14)
|
at async D:\github\API\server\app.js:80:2
|
at async bodyParser (D:\github\API\server\node_modules\koa-bodyparser\index.js:82:48)
|
*************** error log end ***************
|
|