Skip to content

Commit

Permalink
add line break
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Dec 6, 2019
1 parent 5b78722 commit 1547120
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/sdk/src/IntrospectionEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export class IntrospectionEngine {
let errorMessage =
chalk.red.bold('Error in introspection engine: ') + messages
if (messages.includes('\u001b[1;94m-->\u001b[0m')) {
errorMessage = `${chalk.red.bold('Schema parsing ')}` + messages
errorMessage = `${chalk.red.bold('Schema parsing\n')}` + messages
} else if (this.lastError && this.lastError.msg === 'PANIC') {
errorMessage = serializePanic(this.lastError)
err = new IntrospectionPanic(
Expand Down
2 changes: 1 addition & 1 deletion cli/sdk/src/engineCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export async function getDMMF({
})
}
if (e.stderr) {
throw new Error(chalk.redBright.bold('Schema parsing ') + e.stderr)
throw new Error(chalk.redBright.bold('Schema parsing\n') + e.stderr)
}
if (e.message.includes('in JSON at position')) {
throw new Error(
Expand Down

0 comments on commit 1547120

Please sign in to comment.