Skip to content

Fix error when returning error for getConfiguration #131

Open
@ajwild

Description

@ajwild

The following code from the getConfiguration function throws an error because app does not exist:

error = {
  "error": "The configuration could not be obtained.",
  "log": app.error || ""
};

Personally I don't think it's an error if the configuration doesn't exist, the function should just return undefined. However, I didn't want to change anything because there may be some apps waiting for the error message.

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