Removed leftover raise statements (whoops)

This commit is contained in:
nocturn9x 2021-12-22 16:23:18 +01:00
parent 44fdfe50a6
commit 303a98b9e4
2 changed files with 0 additions and 2 deletions

View File

@ -297,7 +297,6 @@ proc loadBytes*(self: Serializer, stream: seq[byte]): Serialized =
stream = stream[self.readConstants(stream)..^1]
stream = stream[self.readCode(stream)..^1]
except IndexDefect:
raise
self.error("truncated bytecode file")
except AssertionDefect:
self.error("corrupted bytecode file")

View File

@ -123,7 +123,6 @@ proc main() =
stdout.write(", ")
stdout.write("]\n")
except:
raise
echo &"A Nim runtime exception occurred: {getCurrentExceptionMsg()}"