Exceptions during 'compute' in storage manager must be processed with exception strategy
#KT-5134 Fixed
This commit is contained in:
@@ -207,6 +207,9 @@ public class LockBasedStorageManager implements StorageManager {
|
||||
try {
|
||||
return computable.invoke();
|
||||
}
|
||||
catch (Throwable throwable) {
|
||||
throw exceptionHandlingStrategy.handleException(throwable);
|
||||
}
|
||||
finally {
|
||||
lock.unlock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user