diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-10 10:55:36 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-10 14:18:27 +0200 |
| commit | 61a187b808d9c49ab955ce3af1d75c09b9e000e9 (patch) | |
| tree | 4f67a5909f4d9a73e4864ff6b7395bdd333342ec /src/client/util.js | |
| parent | fc0427762d3e079b5f16e922fc296e05acb23065 (diff) | |
server/rz_kernel: rzdoc__create: avoid rethrow
Instead of raising and catching an exception by using the cache lookup
extract a function to lookup in cache and then in db that just returns
the result.
Avoids an exception trace we log whenever there is an exception.
Diffstat (limited to 'src/client/util.js')
0 files changed, 0 insertions, 0 deletions
