diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-09-03 23:37:33 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-09-04 00:13:05 +0200 |
commit | 9d2f48df024fab5b99f1243cdf912a926c0e1e3d (patch) | |
tree | daa1ceec81a6625917219ba4d7cefa7b70f3960e /gnu | |
parent | 6fc92598ac7f76568545f4218173b529a3df9fdc (diff) | |
download | guix-9d2f48df024fab5b99f1243cdf912a926c0e1e3d.tar.gz |
publish: Gracefully handle the lack of a deriver.
* guix/scripts/publish.scm (narinfo-string): Catch 'system-error' around 'load-derivation' call; return BASE-INFO upon ENOENT. This allows us to return the narinfo even if DERIVER is missing. Before that, the exception would be uncaught, leading to 500 Internal Error on the client side.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions