Skip to content

Commit

Permalink
prints propify errors to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed May 6, 2019
1 parent 2cba971 commit e63553a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/d3plusPropify.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default (logic, formatters = {}, variables = {}, id = false) => {
}
// If the javascript fails, return a special error object for the front-end to use.
catch (e) {
console.log(`Parsing Error in propify${id !== false ? ` (${id})` : ""}: ${e}`);
console.error(`Parsing Error in propify${id !== false ? ` (${id})` : ""}: ${e}`);
return {error: `${e}`};
}

Expand Down

0 comments on commit e63553a

Please sign in to comment.