Skip to content
Browse files

Logging error instead of printing it.

  • Loading branch information...
1 parent 755fc24 commit c681dcdd47579c7cccc3894415d0537ad6be92cb @Raptor399 Raptor399 committed Feb 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/net/pms/PMS.java
View
2 src/main/java/net/pms/PMS.java
@@ -812,7 +812,7 @@ private synchronized static void createInstance() {
logger.error("A serious error occurred during PMS init");
}
} catch (Exception e) {
- e.printStackTrace();
+ logger.error("A serious error occurred during PMS init", e);
}
}

0 comments on commit c681dcd

Please sign in to comment.
Something went wrong with that request. Please try again.