Add exception logging for test failures

unstable
James Lee 2012-03-26 15:41:08 -06:00
parent eda4da870d
commit 5821a70b16
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ module ModuleTest
rescue ::Exception => e
print_error("FAILED: #{msg}")
print_error("Exception: #{e.class} : #{e}")
dlog("Exception in testing - #{msg}")
dlog("Call stack: #{e.backtrace.join("\n")}")
return
end