Remove printStackTrace() for logger.error()

MYC-Refactor
Hammy 3 years ago
parent 69f517ae51
commit 3f95739795

@ -126,7 +126,7 @@ class ClipboardUtils {
oldClipboardContent = new OldClipboardContent((List<File>) oldContents.getTransferData(FILELIST.getDataFlavor())); oldClipboardContent = new OldClipboardContent((List<File>) oldContents.getTransferData(FILELIST.getDataFlavor()));
} }
} catch (UnsupportedFlavorException | IOException exp) { } catch (UnsupportedFlavorException | IOException exp) {
exp.printStackTrace(); logger.error("Exception Thrown When Retrieving Clipboard Contents", exp);
} }
return oldClipboardContent; return oldClipboardContent;

Loading…
Cancel
Save