Commit 6f6a2c45 authored by Gian Saß's avatar Gian Saß

Fix exception if result is a string

parent 2ab32715
......@@ -153,7 +153,7 @@ module JavaSubmissionTester
File.delete(student_jar)
# removes unnecessary exception text if it is a result from the static code analyser
if result != nil
if result != nil && result != 'Timeout exceeded'
result.each do |key, value|
if (result[key]['successful'] == false)
trimStart = result[key]['failureTrace'].index('TRIM START')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment