From 561a0ee224bd0552e3d080723f6cee08d48df14d Mon Sep 17 00:00:00 2001 From: Peter Bloem Date: Tue, 23 Aug 2016 14:49:09 +0200 Subject: [PATCH] Show full stacktrace on IOException --- src/main/java/nl/peterbloem/motive/exec/Run.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/nl/peterbloem/motive/exec/Run.java b/src/main/java/nl/peterbloem/motive/exec/Run.java index ed74b65..53a4b92 100644 --- a/src/main/java/nl/peterbloem/motive/exec/Run.java +++ b/src/main/java/nl/peterbloem/motive/exec/Run.java @@ -199,7 +199,7 @@ public static void main(String[] args) } catch (IOException e) { - throw new IllegalArgumentException("There was a problem reading the input file ("+file+")."); + throw new IllegalArgumentException("There was a problem reading the input file ("+file+").", e); } CompareLarge large = new CompareLarge();