• Pulkit Goyal's avatar
    error: remove shortening of node in error message · 38377b7d8cd8
    Pulkit Goyal authored
    This makes it difficult to figure what exactly was node on which LookupError was
    called if we only have the error message.
    I was debugging an error message which contained a short node and I tried to
    find out which callers raise LookupError with a short node. This turned out to
    be wrong because we short-ed the node before printing.
    Let's be explicit and show whatever is passed to LookupError. If a short node is
    to be displayed, that should be done by callers.
error.py 15.2 KB