Ensure to save Testrun even when an error occurs

This commit is contained in:
Felix Auringer
2021-06-25 12:10:30 +02:00
committed by Sebastian Serth
parent f98a8b9e7a
commit 36578a2817
3 changed files with 37 additions and 37 deletions

View File

@ -57,7 +57,7 @@ class Runner::Connection
return unless BACKEND_OUTPUT_SCHEMA.valid?(event)
event = event.deep_symbolize_keys
message_type = event[:type]
message_type = event[:type].to_sym
if WEBSOCKET_MESSAGE_TYPES.include?(message_type)
__send__("handle_#{message_type}", event)
else