[Minor] Fixed logger in DefaultLockHandler
This commit is contained in:
parent
7df625cfdf
commit
1cf28eaa15
|
@ -152,9 +152,7 @@ public class DefaultLockHandler implements LockHandler {
|
||||||
// logger.debug("locked " + locator); //$NON-NLS-1$
|
// logger.debug("locked " + locator); //$NON-NLS-1$
|
||||||
|
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
String msg = "Interrupted while trying to acquire lock for {1}"; //$NON-NLS-1$
|
throw new StrolchLockException("Interrupted while trying to acquire lock for " + locator, e);
|
||||||
msg = MessageFormat.format(msg, locator);
|
|
||||||
throw new StrolchLockException(msg, e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue