diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-10-24 11:54:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-24 11:54:49 +0200 |
commit | d67b12eb7934637f119ed7ad6f80f3d5f574895b (patch) | |
tree | 1af6dba5eb03d60780ca923308fac9365eaabd6f /LICENSE-APACHE | |
parent | 7d99fbcafd4720babe2a0d325df099ed9056f5e1 (diff) | |
download | spack-d67b12eb7934637f119ed7ad6f80f3d5f574895b.tar.gz spack-d67b12eb7934637f119ed7ad6f80f3d5f574895b.tar.bz2 spack-d67b12eb7934637f119ed7ad6f80f3d5f574895b.tar.xz spack-d67b12eb7934637f119ed7ad6f80f3d5f574895b.zip |
locks: improved errors (#33477)
Instead of showing
```
==> Error: Timed out waiting for a write lock.
```
show
```
==> Error: Timed out waiting for a write lock after 1.200ms and 4 attempts on file: /some/file
```
s.t. we actually get to see where acquiring a lock failed even when not
running in debug mode.
And use pretty time units everywhere, so we don't get 1.45e-9 seconds
but 1.450ns etc.
Diffstat (limited to 'LICENSE-APACHE')
0 files changed, 0 insertions, 0 deletions