Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rexfile path is missing from Rexfile loading messages #1562

Closed
ferki opened this issue Jan 29, 2023 · 0 comments · Fixed by #1563
Closed

Rexfile path is missing from Rexfile loading messages #1562

ferki opened this issue Jan 29, 2023 · 0 comments · Fixed by #1563
Labels
bug Confirmed bugs

Comments

@ferki
Copy link
Member

ferki commented Jan 29, 2023

Describe the bug

After the Rexfile loading changes on #1522, the error and warning messages always contain the static string Rexfile, instead of the real path to the Rexfile being used.

Expected behavior

The actually used Rexfile path should be printed in warning and error messages.

How to reproduce it

  1. Load a failing Rexfile with rex -f
  2. The output complains about an error in Rexfile, instead of the path passed

Code example

No response

Additional context

No response

Rex version

current HEAD

Perl version

5.36.0

Operating system running rex

Gentoo

Operating system managed by rex

local

How rex was installed?

dzil install

@ferki ferki added the bug Confirmed bugs label Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant