diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-04-04 23:58:05 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-04-05 00:36:44 +0200 |
commit | 376ba0ce570993cf6cdbed19596a245826308382 (patch) | |
tree | 753671173fffe2fbd3eb79f2456fd34f525c113d /tests/size.scm | |
parent | 524a4e357cd71566841aaf405e8548fa3600b11b (diff) | |
download | guix-376ba0ce570993cf6cdbed19596a245826308382.tar.gz |
store: 'with-store' uses 'with-exception-handler'.
This ensures the stack is not unwound before the exception is re-thrown, as was the case since 8ed597f4a261fe188de82cd1f5daed83dba948eb, leading to '&store-protocol-error' being uncaught by 'with-error-handling' in (guix scripts build) & co. * guix/store.scm (call-with-store): Define 'thunk'. Add 'cond-expand' to use 'with-exception-handler' on 'guile-3' and 'catch' otherwise.
Diffstat (limited to 'tests/size.scm')
0 files changed, 0 insertions, 0 deletions