Skip to content

DownloadingSucceededEventListener: improve error handling #679

Open
@php-coder

Description

@php-coder

We should resolve the following TODOs:

String content = importService.getDownloadedContent(requestId);
if (content == null) {
// TODO: how to handle error? maybe publish UnexpectedErrorEvent?
log.error("Request #{}: could not load a content from database", requestId);
return;
}

and

if (parser == null) {
// TODO: how to handle error? maybe publish UnexpectedErrorEvent?
log.error("Request #{}: could not find appropriate parser", requestId);
return;
}

Tech debt for 29f6dc9 (#660)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions