make error messages more useful

pull/301/head
Lex Neva 2018-09-01 20:09:18 -04:00
rodzic 1c2dc2d954
commit 71643ba280
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -270,5 +270,5 @@ class EmbroideryElement(object):
def fatal(self, message):
# L10N used when showing an error message to the user such as "satin column: One or more of the rungs doesn't
# intersect both rails."
print >> sys.stderr, _("error:"), message
print >> sys.stderr, self.node.get("id") + ":", _("error:"), message
sys.exit(1)