Attach duration information to the exception object

This commit is contained in:
Felix Auringer
2021-06-28 12:03:20 +02:00
committed by Sebastian Serth
parent 36578a2817
commit 2dff81a510
9 changed files with 87 additions and 57 deletions

View File

@ -2,6 +2,8 @@
class Runner
class Error < ApplicationError
attr_accessor :waiting_duration, :execution_duration
class BadRequest < Error; end
class EnvironmentNotFound < Error; end