Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 050c9af

Browse files
committed
2 parents 07df8cc + 0b5e08c commit 050c9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markdown/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def parse_options(args=None, values=None):
7878
with codecs.open(options.configfile, mode="r", encoding=options.encoding) as fp:
7979
try:
8080
extension_configs = yaml.load(fp)
81-
except yaml.YAMLError as e:
81+
except Exception as e:
8282
message = "Failed parsing extension config file: %s" % options.configfile
8383
e.args = (message,) + e.args[1:]
8484
raise

0 commit comments

Comments
 (0)