Skip to content

improve error message for >=1.1 forecast #197

Description

@peterdudfield

Verification

  • I have searched the existing issues to ensure this feature has not already been requested.

Provide a detailed description of the proposed feature.

If we try to add a forecast that is over 1.1 of the capacity, then we get a funny error that says smallint is too big.

It would be good if we get this error beforehand

What is the motivation for the feature?

we have got this error in live, and it was a bit confusing to debug

Outline a potential approach or solution (optional).

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions