Skip to content

Commit

Permalink
Make stack traces optional
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Sep 20, 2024
1 parent d907202 commit 089b1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/parser.scala
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ object JsonParseError:

import JsonParseError.Reason

case class JsonParseError(line: Int, col: Int, reason: Reason)
case class JsonParseError(line: Int, col: Int, reason: Reason)(using Diagnostics)
extends Error(m"Could not parse JSON because $reason at ${line + 1}:${col + 1}")

export JsonAst.RawJson as JsonAst
Expand Down

0 comments on commit 089b1a0

Please sign in to comment.