Skip to content

Commit

Permalink
Fix error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sarxos committed Nov 18, 2012
1 parent 840ba46 commit 0cc3603
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -121,7 +121,7 @@ public synchronized void open() {
try {
l.webcamOpen(we);
} catch (Exception e) {
LOG.error("Notify webcam open, exception when calling {}", WebcamListener.class.getSimpleName(), e);
LOG.error(String.format("Notify webcam open, exception when calling %s listener", l.getClass()), e);
}
}
}
Expand Down Expand Up @@ -160,7 +160,7 @@ private void close0() {
try {
l.webcamClosed(we);
} catch (Exception e) {
LOG.error("Notify webcam closed, exception when calling {}", WebcamListener.class.getSimpleName(), e);
LOG.error(String.format("Notify webcam closed, exception when calling %s listener", l.getClass()), e);
}
}
}
Expand Down

0 comments on commit 0cc3603

Please sign in to comment.