Skip to content

when core returns an empty document, ensure post still succeeds#964

Merged
brucemiller merged 1 commit into
brucemiller:masterfrom
dginev:robust-post-for-empty-docs
Mar 25, 2018
Merged

when core returns an empty document, ensure post still succeeds#964
brucemiller merged 1 commit into
brucemiller:masterfrom
dginev:robust-post-for-empty-docs

Conversation

@dginev
Copy link
Copy Markdown
Collaborator

@dginev dginev commented Mar 25, 2018

This causes cortex-specific troubles, as the return archive is empty, and hence no log information can be gathered.

This PR ensures if the core processing returns a completely empty document, without any elements set, it will still produce an HTML document and add the log file to the archive, when the target is .zip.

The specific arXiv document that hit this was 1802.05735

@brucemiller
Copy link
Copy Markdown
Owner

Hm.... ok.

@brucemiller brucemiller merged commit 03a5bde into brucemiller:master Mar 25, 2018
@dginev dginev deleted the robust-post-for-empty-docs branch March 26, 2018 00:58
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