Undefined og description #261

Merged
bones7242 merged 4 commits from undefined-og-description into master 2017-11-14 21:40:37 +01:00
bones7242 commented 2017-11-09 23:50:56 +01:00 (Migrated from github.com)

updated controller to pass the required info (title and description) to the view renderer

updated controller to pass the required info (title and description) to the view renderer
kauffj (Migrated from github.com) reviewed 2017-11-10 18:22:56 +01:00
kauffj (Migrated from github.com) left a comment

2 small comments, address or reject at your convenience and then you can merge.

2 small comments, address or reject at your convenience and then you can merge.
kauffj (Migrated from github.com) commented 2017-11-10 18:20:34 +01:00

Shouldn't the actual error be logged here?

If not, ignore.

Shouldn't the actual error be logged here? If not, ignore.
@ -21,3 +16,1 @@
<meta property="og:url" content="${showUrl}" >
<meta property="og:site_name" content="Spee.ch" >
<meta property="og:description" content="${description}">`;
if (title === null || title.trim() === '') {
kauffj (Migrated from github.com) commented 2017-11-10 18:22:33 +01:00

Is there a fallback value for this when it is not set?

Is there a fallback value for this when it is not set?
bones7242 (Migrated from github.com) reviewed 2017-11-10 18:26:31 +01:00
bones7242 (Migrated from github.com) commented 2017-11-10 18:26:31 +01:00

The full error is passed back up the promise chain and then logged. This particular log is more just for debugging, to be able to quickly ID if this error was triggered.

The full error is passed back up the promise chain and then logged. This particular log is more just for debugging, to be able to quickly ID if this error was triggered.
bones7242 (Migrated from github.com) reviewed 2017-11-10 18:27:08 +01:00
@ -21,3 +16,1 @@
<meta property="og:url" content="${showUrl}" >
<meta property="og:site_name" content="Spee.ch" >
<meta property="og:description" content="${description}">`;
if (title === null || title.trim() === '') {
bones7242 (Migrated from github.com) commented 2017-11-10 18:27:08 +01:00

no there isn't, and you are correct that should be added

no there isn't, and you are correct that should be added
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/spee.ch#261
No description provided.