Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
s5uishida authored Oct 26, 2019
1 parent 052e617 commit 4029d4a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,12 @@ public class MyPPD42NS {
ppd42ns.open();
while (true) {
PPD42NSObservationData data = ppd42ns.read();
LOG.info(data.toString());
try {
PPD42NSObservationData data = ppd42ns.read();
LOG.info("[{}] {}", ppd42ns.getName(), data.toString());
} catch (IOException e) {
LOG.warn("caught - {}", e.toString());
}
}
// if (ppd42ns != null) {
Expand Down

0 comments on commit 4029d4a

Please sign in to comment.