Remove temporary fix for Poseidon#54
This commit is contained in:
@ -127,9 +127,6 @@ class Runner::Strategy::Poseidon < Runner::Strategy
|
|||||||
|
|
||||||
Runner.destroy(@allocation_id) if response.status == 400
|
Runner.destroy(@allocation_id) if response.status == 400
|
||||||
self.class.handle_error response
|
self.class.handle_error response
|
||||||
rescue Faraday::ConnectionFailed
|
|
||||||
# TODO: Remove fix after the following issue is resolved: https://github.com/openHPI/poseidon/issues/54
|
|
||||||
raise Runner::Error::RunnerNotFound.new
|
|
||||||
rescue Faraday::Error => e
|
rescue Faraday::Error => e
|
||||||
raise Runner::Error::FaradayError.new("Request to Poseidon failed: #{e.inspect}")
|
raise Runner::Error::FaradayError.new("Request to Poseidon failed: #{e.inspect}")
|
||||||
ensure
|
ensure
|
||||||
|
Reference in New Issue
Block a user