Skip to content

Error on packages start up #76

@justinneff

Description

@justinneff

Noticed this while working on incident reporting. Every time the package server starts the following error appears in the logs twice. It does not seem to be causing any problems and the server continues running. We need to investigate what is causing this.

You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
Error: Package ims.core.administration was not found in [object Object]  Make sure you have added the package to your packageDependencies
     at makeAuthenticatedRequest (/etc/ims/packages/ims.packages.incidentReporting/node_modules/ims-shared-core/dist/utils/request.js:180:13)
     at request (/etc/ims/packages/ims.packages.incidentReporting/node_modules/ims-shared-core/dist/utils/request.js:136:14)
     at /etc/ims/packages/ims.packages.incidentReporting/node_modules/ims-shared-core/dist/middlewares/UserAccountDetails.js:21:36
     at propagateAslWrapper (/etc/ims/packages/ims.packages.incidentReporting/node_modules/async-listener/index.js:502:23)
     at /etc/ims/packages/ims.packages.incidentReporting/node_modules/async-listener/glue.js:188:31
     at /etc/ims/packages/ims.packages.incidentReporting/node_modules/async-listener/index.js:539:70
     at /etc/ims/packages/ims.packages.incidentReporting/node_modules/async-listener/glue.js:188:31
     at process._tickDomainCallback [as _tickCallback] (internal/process/next_tick.js:135:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions