Undefined og description #261
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
Osprey
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
resilience
Tom's Wishlist
type: bug
type: discussion
type: error handling
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/spee.ch#261
Loading…
Reference in a new issue
No description provided.
Delete branch "undefined-og-description"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
updated controller to pass the required info (title and description) to the view renderer
2 small comments, address or reject at your convenience and then you can merge.
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() === '') {
Is there a fallback value for this when it is not set?
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.
@ -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() === '') {
no there isn't, and you are correct that should be added