Created
March 5, 2021 17:10
-
-
Save davixz/befcf78825fea92c5000dbb65e86ae3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"error": { | |
"message": "aaaa is not defined", | |
"name": "ReferenceError", | |
"frames": [ | |
{ | |
"file": "src/app/strategies/provider/loggi/loggi-strategy.js", | |
"filePath": "/var/www/newtail/newtail-logistic-hub/src/app/strategies/provider/loggi/loggi-strategy.js", | |
"method": "LoggiStrategy.deliveryOrderCreate", | |
"line": 167, | |
"column": 5, | |
"context": { | |
"start": 162, | |
"pre": " }\n });\n }\n\n async deliveryOrderCreate(params) {", | |
"line": " aaaa", | |
"post": " const provider = await ProviderService.getByProperty('key', params.provider);\n const locationEntity = await this.locationGet(params.location_id);\n if(!locationEntity) {\n throw new Error({ status: 404, message: `Location not found with id \"${params.location_id}\"`});\n }" | |
}, | |
"isModule": false, | |
"isNative": false, | |
"isApp": true | |
}, | |
{ | |
"file": "src/app/controllers/delivery-order-controller.js", | |
"filePath": "/var/www/newtail/newtail-logistic-hub/src/app/controllers/delivery-order-controller.js", | |
"method": "create", | |
"line": 28, | |
"column": 48, | |
"context": { | |
"start": 23, | |
"pre": " 'order_id',\n 'pickups',\n 'packages'\n ]);\n const providerStrategy = await ProviderStrategyFactory.createInstance(params);", | |
"line": " const apiResponse = await providerStrategy.deliveryOrderCreate(params);", | |
"post": " return response.status(apiResponse?.http_status || 200).json(apiResponse.data);\n }\n async get(request, response) {\n const params = await RequestService.extractParamsByKeys(request.body, [\n 'provider'," | |
}, | |
"isModule": false, | |
"isNative": false, | |
"isApp": true | |
}, | |
{ | |
"file": "internal/process/next_tick.js", | |
"filePath": "internal/process/next_tick.js", | |
"method": "process._tickCallback", | |
"line": 68, | |
"column": 7, | |
"context": {}, | |
"isModule": false, | |
"isNative": true, | |
"isApp": false | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment