Skip to content

Commit

Permalink
Added stripExceptionDetails parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
nyxiscoo1 committed Mar 13, 2017
1 parent c3c03ef commit 50e602f
Show file tree
Hide file tree
Showing 9 changed files with 257 additions and 225 deletions.
8 changes: 8 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
Project : SHTRIH-M JavaPOS fiscal printer driver
Company : SHTRIH-M www.shtrih-m.ru (095) 787-6090

********************************************************************************

March 13 2017, 15:06
deviceServiceVersion = 1013392

[+] Added stripExceptionDetails parameter
[+] Added FSSender

********************************************************************************

March 6 2017, 15:42
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ public void open(String logicalName, EventCallbacks cb)
}
fptrParams.load(entry);
logger.setEnabled(fptrParams.logEnabled);

JposExceptionHandler.setStripExceptionDetails(fptrParams.stripExceptionDetails);

port = PrinterPortFactory.createInstance(fptrParams);
device = ProtocolFactory.getProtocol(fptrParams, port);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2143,6 +2143,8 @@ public void open(String logicalName, EventCallbacks cb) throws Exception {
if (params.monitoringEnabled) {
monitoringServer.start(params.getMonitoringPort());
}

JposExceptionHandler.setStripExceptionDetails(params.stripExceptionDetails);
}

receipt = new NullReceipt(createReceiptContext());
Expand Down
Loading

0 comments on commit 50e602f

Please sign in to comment.