Project

General

Profile

Bug #23365

Foreman shows an error if .env doesn't exist when starting in development mode

Added by Ewoud Kohl van Wijngaarden 5 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Development tools
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Associated revisions

Revision 3505d737 (diff)
Added by Ewoud Kohl van Wijngaarden 5 months ago

Fixes #23365 - Silence the ENOENT error for .env

If .env doesn't exist, it can be safely ignored. This updates the
library to the newest version to simplify error handling. The 2.0.0 also
had a silent option, but that didn't allow for only hiding the ENOENT
error.

History

#1 Updated by The Foreman Bot 5 months ago

  • Assignee set to Ewoud Kohl van Wijngaarden
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5479 added

#2 Updated by Michael Moll 5 months ago

  • Legacy Backlogs Release (now unused) set to 353

#3 Updated by Anonymous 5 months ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#4 Updated by Ewoud Kohl van Wijngaarden 2 months ago

  • Triaged set to No
  • Category set to Development tools

Also available in: Atom PDF