Skip to content

Commit

Permalink
Write possible errors warning to log only
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Jan 14, 2020
1 parent e9e3f3b commit 1f01afe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions easybuild/framework/easyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -3234,9 +3234,8 @@ def build_and_install_one(ecdict, init_env):

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

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

0 comments on commit 1f01afe

Please sign in to comment.