bin/tl in testlab-0.9.1 vs bin/tl in testlab-1.0.0

- old
+ new

@@ -107,13 +107,10 @@ true end on_error do |exception| - testlab_run_time = (Time.now.utc - @testlab_start_time) - - @ui.stderr.puts @ui.stderr.puts(format_message(["ERROR:".red, exception.inspect.red.bold].join(' '))) case exception when GLI::BadCommandLine, GLI::UnknownCommand, GLI::UnknownCommandArgument, GLI::UnknownGlobalArgument then command_regex = /Command '([\w]+)' / @@ -122,9 +119,11 @@ @ui.stderr.puts commands[:help] and commands[:help].execute({}, {}, (command.nil? ? [] : [command.to_s])) false else + testlab_run_time = (Time.now.utc - @testlab_start_time) + @logger.fatal { exception.inspect } exception.backtrace.each do |line| @logger.logdev.write("#{line}\n") end