diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/nar-accessor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/nar-accessor.cc b/src/libstore/nar-accessor.cc index e5042208e58b..839a7991c89f 100644 --- a/src/libstore/nar-accessor.cc +++ b/src/libstore/nar-accessor.cc @@ -214,7 +214,7 @@ void listNar(JSONPlaceholder & res, ref<FSAccessor> accessor, obj.attr("target", accessor->readLink(path)); break; default: - abort(); + throw Error("path '%s' does not exist in NAR", path); } } |