Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

exporting single case to pdf #46

Merged
merged 2 commits into from
Oct 24, 2015
Merged

Conversation

pawc
Copy link
Contributor

@pawc pawc commented Oct 24, 2015

No description provided.

document.close();
logger.info("export to PDF: success");
} catch (DocumentException e) {
logger.error("Error while exporting to PDF");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger.error() can take the Exception as a parameter. It then prints out the stack trace nicely. So these logging lines can be merged into one

@paddatrapper
Copy link
Owner

Looks good. Though the output is missing the defendant and complainant info and incident region

paddatrapper added a commit that referenced this pull request Oct 24, 2015
exporting single case to pdf
@paddatrapper paddatrapper merged commit 2dcfcb0 into paddatrapper:master Oct 24, 2015
@paddatrapper
Copy link
Owner

Merged

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants