From ad6d559421a506e5dc60c254b95b304320e39149 Mon Sep 17 00:00:00 2001 From: Clyybber Date: Wed, 11 Mar 2020 22:15:06 +0100 Subject: [PATCH] Tiny cleanup --- compiler/extccomp.nim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 0308e5b4a9ba6..34552e6f3bbf1 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -1137,10 +1137,8 @@ proc runJsonBuildInstructions*(conf: ConfigRef; projectfile: AbsoluteFile) = except: let e = getCurrentException() - var msg = "\ncaught exception:n" & e.msg & "\nstacktrace:\n" & - getCurrentException().getStackTrace() & - "error evaluating JSON file: " & jsonFile.string - quit msg + quit "\ncaught exception:n" & e.msg & "\nstacktrace:\n" & e.getStackTrace() & + "error evaluating JSON file: " & jsonFile.string proc genMappingFiles(conf: ConfigRef; list: CfileList): Rope = for it in list: