Skip to content

Base.DEBUG should be initialized to the value set in the ENV #1245

@catilac

Description

@catilac

Right now, Base.DEBUG is just set to true if DEBUG is set in the environment. It should be set to the actual value.

static public boolean DEBUG = System.getenv().containsKey("DEBUG");

Looking at Base.DEBUG setting it to false would still result in it I being true as it just checks if the key exists in the [env]

Originally posted by @Stefterv in #1239 (comment)

Metadata

Metadata

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions