Skip to content

Handling situation where a module was not found #16

Description

@p0358

If you enter invalid module name which doesn't exist in KPM table for example, instead of displaying some nice message, it throws this:

error: "kpm" wywalił się. <unknown> jest teraz pokryty chorobą.
2017-08-15T13:42:46.291Z - debug: Error: No type exists to perform that operation.
    at /var/www/Concierge/modules/kpm/src/types.js:21:15
    at undefined.throw (native)
    at step (/var/www/Concierge/modules/kpm/src/types.js:1:260)
    at /var/www/Concierge/modules/kpm/src/types.js:1:459
    at process._tickCallback (internal/process/next_tick.js:109:7)

Might want to change that a little, at least for non-debug mode, when it displays just error: "kpm" threw up. <unknown> is now covered in sick., without debug: Error: No type exists to perform that operation..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions