diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2021-04-14 13:38:27 -0400 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2021-04-14 13:45:36 -0400 |
commit | 9b3226a80a35ee85eebb6d910f9608dc301f0e72 (patch) | |
tree | 4d5d4074e7fdf9bd9a47bad4566f28728a4046ea /cmd/podman | |
parent | 39a1f3a04f6128f7420c5c07ae98015131d0ece3 (diff) | |
download | podman-9b3226a80a35ee85eebb6d910f9608dc301f0e72.tar.gz podman-9b3226a80a35ee85eebb6d910f9608dc301f0e72.tar.bz2 podman-9b3226a80a35ee85eebb6d910f9608dc301f0e72.zip |
pkg/errorhandling.JoinErrors: don't throw away context for lone errors
When our multierror contains just one error, don't extract its text only
to rewrap it, because doing so discards any stack trace information that
might have been added closer to where the error actually originated.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Diffstat (limited to 'cmd/podman')
0 files changed, 0 insertions, 0 deletions