Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions capirca/aclgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ def RenderFile(base_directory: str, input_file: pathlib.Path,
base_dir=base_directory,
shade_check=shade_check)
except policy.ShadingError as e:
logging.warning('shading errors for %s:\n%s', input_file, e)
return
logging.error('shading errors for %s:\n%s', input_file, e)
raise
except (policy.Error, naming.Error):
raise ACLParserError('Error parsing policy file %s:\n%s%s' %
(input_file, sys.exc_info()[0], sys.exc_info()[1]))
Expand Down