Browse Source
Instead of dropping a second exception, use try-with-resources so that exception thrown by a hook is attached as a suppressed exception. This removes a need of holding an exception that is thrown while unpacking an incoming packfile. Change-Id: I74d8b944931abbf53d9d1ae5db2e889639fba027 Signed-off-by: Masaya Suzuki <masayasuzuki@google.com>stable-5.7
Masaya Suzuki
5 years ago
1 changed files with 22 additions and 25 deletions
Loading…
Reference in new issue