Skip to content

[Core] Incorrect exit code returned when entropy errors out #61

@rohilsurana

Description

@rohilsurana

Describe the bug
When trying to run migration with the database down, the application exits with exit code 0.

To Reproduce
Steps to reproduce the behavior:

  1. Bring the PostgresDB down.
  2. Start migration using command -
go run main.go migrate
echo $?
# 0

Expected behavior
should panic and exit with exit code > 0

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