RexOps/Rex

Rexfile path is missing from Rexfile loading messages

Closed this issue · 0 comments

ferki commented

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