Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

If no Heap.app_id is specified, the library should fail gracefully #12

@jeffling

Description

@jeffling

This is really not a big deal but here goes.

In certain environments like testing, the library should not fail with an error and crash the application.

Look at stripe's example:

No stripe.com API key was configured for environment test! this application will be
unable to interact with stripe.com. You can set your API key with either the environment
variable `STRIPE_SECRET_KEY` (recommended) or by setting `config.stripe.secret_key` in your
environment file directly.

It doesn't fail, and educates the user to configure the environment better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions