aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lesana/command.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lesana/command.py b/lesana/command.py
index 61393e9..7ca50cf 100644
--- a/lesana/command.py
+++ b/lesana/command.py
@@ -357,7 +357,8 @@ class Export(Command):
try:
data = ruamel.yaml.load(rendered, ruamel.yaml.RoundTripLoader)
except ruamel.yaml.YAMLError as e:
- logging.error("Error converting entry: {}".format(entry))
+ logging.error("Error loading exported entry: {}".format(entry))
+ logging.error("exported data was\n{}".format(rendered))
logging.error("{}".format(e))
sys.exit(1)
e = self.entry_class(destination, data=data)