Skip to content

Commit

Permalink
Lower logging for user build errors (#11886)
Browse files Browse the repository at this point in the history
This is a user facing error,
but shouldn't show up in our Sentry.
  • Loading branch information
ericholscher authored Jan 7, 2025
1 parent 6db46a3 commit da5fc65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readthedocs/projects/tasks/builds.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def get_valid_artifact_types(self):
continue

if not os.path.isdir(artifact_directory):
log.error(
log.debug(
"The output path is not a directory.",
output_format=artifact_type,
)
Expand All @@ -611,7 +611,7 @@ def get_valid_artifact_types(self):
list_dir = os.listdir(artifact_directory)
artifact_format_files = len(list_dir)
if artifact_format_files > 1:
log.error(
log.debug(
"Multiple files are not supported for this format. "
"Skipping this output format.",
output_format=artifact_type,
Expand Down

0 comments on commit da5fc65

Please sign in to comment.