Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-yao committed Nov 19, 2019
1 parent 4d875fd commit 5a3c6ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ripple-nuxt-tide/lib/core/mapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,9 @@ export class Mapping {
const getProp = this[_getFieldVal](propMapping, item).then(res => {
props[prop] = res
}).catch(error => {
logger.error('Failed to get prop "%s" value.', prop, { error, label: 'Mapping' })
if (process.server) {
logger.error('Failed to get prop "%s" value.', prop, { error, label: 'Mapping' })
}
})
getProps.push(getProp)
}
Expand Down

0 comments on commit 5a3c6ee

Please sign in to comment.