Skip to content

Commit 1f01afe

Browse files
committed
Write possible errors warning to log only
1 parent e9e3f3b commit 1f01afe

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

easybuild/framework/easyblock.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3234,9 +3234,8 @@ def build_and_install_one(ecdict, init_env):
32343234

32353235
# check for errors
32363236
if run.errors_found_in_log > 0:
3237-
print_msg("WARNING: %d possible error(s) were detected in the "
3238-
"build logs, please verify the build." % run.errors_found_in_log,
3239-
log=_log, silent=silent)
3237+
_log.warning("%d possible error(s) were detected in the "
3238+
"build logs, please verify the build.", run.errors_found_in_log)
32403239

32413240
if app.postmsg:
32423241
print_msg("\nWARNING: %s\n" % app.postmsg, log=_log, silent=silent)

0 commit comments

Comments
 (0)