Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Jun 4, 2024
1 parent 5edf557 commit 04752e7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ object QueryRunner {
// the query worked in Spark but failed in Comet, so this is likely a bug in Comet
showSQL(w, sql)
w.write(s"[ERROR] Query failed in Comet: ${e.getMessage}:\n")
w.write(s"```\n")
w.write("```\n")
val p = new PrintWriter(w)
e.printStackTrace(p)
p.close()
w.write(s"```\n")
w.write("```\n")
}

// flush after every query so that results are saved in the event of the driver crashing
Expand Down

0 comments on commit 04752e7

Please sign in to comment.