[Minor] Fixed logger in DefaultLockHandler

This commit is contained in:
Robert von Burg 2020-02-04 20:45:00 +01:00
parent 7df625cfdf
commit 1cf28eaa15
1 changed files with 1 additions and 3 deletions

View File

@ -152,9 +152,7 @@ public class DefaultLockHandler implements LockHandler {
// logger.debug("locked " + locator); //$NON-NLS-1$
} catch (InterruptedException e) {
String msg = "Interrupted while trying to acquire lock for {1}"; //$NON-NLS-1$
msg = MessageFormat.format(msg, locator);
throw new StrolchLockException(msg, e);
throw new StrolchLockException("Interrupted while trying to acquire lock for " + locator, e);
}
}