Skip to content

Not found page#362

Open
blablatdinov wants to merge 2 commits intoyegor256:masterfrom
blablatdinov:not-found-page
Open

Not found page#362
blablatdinov wants to merge 2 commits intoyegor256:masterfrom
blablatdinov:not-found-page

Conversation

@blablatdinov
Copy link
Copy Markdown

No description provided.

@blablatdinov
Copy link
Copy Markdown
Author

@yegor256 Hi! I've made my first Java contribution. Could please review my PR? I'm new to Java development, so any feedback would be greatly appreciated!

new FkRegex("/d", new TkDetails(base)),
new FkRegex(
"/d",
new TkNotFoundSafeDetails(
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

@blablatdinov what if something similar happens in the TkInfo? We won't render the "not found" page.

public Response act(final Request req) throws IOException {
try {
return this.origin.act(req);
} catch (final IOException ex) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

@blablatdinov this is too harsh. Treating I/O error (for example, disk is full) as not-found problem is not accurate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants