Skip to content

Commit

Permalink
+ nimsuggest tester: print the entire nimsuggest output for diagnosti…
Browse files Browse the repository at this point in the history
…c purposes in case of parseInt error
  • Loading branch information
nickysn committed Jan 12, 2024
1 parent ce1f834 commit b570e11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nimsuggest/tester.nim
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ proc runEpcTest(filename: string): int =
port = parseInt(a)
except ValueError:
echo "Error parsing int: " & a
echo outp.readAll()
raise
socket.connect("localhost", Port(port))

Expand Down

0 comments on commit b570e11

Please sign in to comment.