Skip to content

Commit 804f6f9

Browse files
author
Vasileios Karakasis
authored
Merge pull request #906 from vkarak/enhancement/debug-info-preload-env
[feat] Print debug info when preload environment fails to load
2 parents e2e4165 + 1e9b98e commit 804f6f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reframe/frontend/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,9 @@ def main():
498498
try:
499499
rt.system.preload_environ.load()
500500
except EnvironError as e:
501-
printer.error("failed to load current's system environment; "
501+
printer.error("failed to load current system's environment; "
502502
"please check your configuration")
503+
printer.debug(str(e))
503504
raise
504505

505506
for m in options.user_modules:

0 commit comments

Comments
 (0)