Skip to content

[fix] clean CLI error handling — no raw stack traces, reject unknown args #47

Closed

Description

@yashupadhyayy1

Problem

Two bugs in the CLI argument handling:

Image Image Image Image
  1. Raw stack traces leak to users — when failproofai policies --install all okay is run with invalid policy names, Node.js dumps a full stack trace instead of a clean error message.

  2. Unknown args silently ignored — failproofai policies --list hi ignores both the unknown --list flag and the extra hi argument instead of erroring.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions