diff options
author | Paul Phillips <paulp@improving.org> | 2012-07-19 07:36:20 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-07-19 07:36:21 -0700 |
commit | e200a8e3ffe10eb132c2cc0f5038cc42ce89414c (patch) | |
tree | ead07f4ce76e35ebffbbe34ad9a18e00e36aec84 /src/partest | |
parent | a40a90fc33b6ba6fbc042cbf2f69f46a66417e2f (diff) | |
download | scala-e200a8e3ffe10eb132c2cc0f5038cc42ce89414c.tar.gz scala-e200a8e3ffe10eb132c2cc0f5038cc42ce89414c.tar.bz2 scala-e200a8e3ffe10eb132c2cc0f5038cc42ce89414c.zip |
Print the stack trace.
We're not completely blind in there, are we.
Diffstat (limited to 'src/partest')
-rw-r--r-- | src/partest/scala/tools/partest/nest/DirectRunner.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/nest/DirectRunner.scala b/src/partest/scala/tools/partest/nest/DirectRunner.scala index 86c790f9dd..c254472342 100644 --- a/src/partest/scala/tools/partest/nest/DirectRunner.scala +++ b/src/partest/scala/tools/partest/nest/DirectRunner.scala @@ -61,8 +61,9 @@ trait DirectRunner { pool.shutdown() try if (!pool.awaitTermination(4, TimeUnit.HOURS)) NestUI.warning("Thread pool timeout elapsed before all tests were complete!") - catch { case _: InterruptedException => + catch { case t: InterruptedException => NestUI.warning("Thread pool was interrupted") + t.printStackTrace() } for ((file, future) <- futures) yield { |