Skip to content

Commit

Permalink
feat(gatsby-source-wordpress): add newline to error log message (#9033)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlapides authored and pieh committed Oct 12, 2018
1 parent aba189a commit 57b57e1
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ const colorized = require(`./output-color`)
*/
function httpExceptionHandler(e) {
const { response, code } = e
console.log(colorized.out(`Path: ${response.request.path}`, colorized.color.Font.FgRed))
console.log(
colorized.out(
`\nPath: ${response.request.path}`,
colorized.color.Font.FgRed
)
)
if (!response) {
console.log(
colorized.out(
Expand Down

0 comments on commit 57b57e1

Please sign in to comment.