log error when step in sync process fails.

This commit is contained in:
Mark Beamer Jr 2019-06-21 00:11:16 -04:00
parent 4f5206d18e
commit ea2fcb56ab
No known key found for this signature in database
GPG key ID: 1C314FB89AD76973
2 changed files with 19 additions and 18 deletions
server/controllers

View file

@ -479,7 +479,7 @@ class LighthouseControllers {
}
if (pResult._source.value &&
pResult._source.value.stream &&
pResult._source.value.stream !== undefined){
pResult._source.value.stream !== undefined) {
var title = pResult._source.value.stream.metadata.title;
var author = pResult._source.value.stream.metadata.author;
if (title.indexOf(ctx.query.s.trim()) > -1 && title.indexOf('http') === -1) {