Skip to content

Commit 64f80b0

Browse files
Merge releases/4.8 into master (#3361)
2 parents 0dca268 + 6419623 commit 64f80b0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/Http/Submission/Handlers/BuildHandler.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,7 @@ public function endElement($parser, $name): void
451451
if ($threshold > 0) {
452452
$chunk_size = $threshold / 2;
453453
foreach (['StdOutput', 'StdError'] as $field) {
454-
if (!($this->Error instanceof BuildFailure)) {
455-
throw new RuntimeException('Field "Error" is not instance of BuildFailure.');
456-
}
457-
if (isset($this->Error->$field)) {
454+
if ($this->Error instanceof BuildFailure && isset($this->Error->$field)) {
458455
$outlen = strlen($this->Error->$field);
459456
if ($outlen > $threshold) {
460457
// First try removing suppressed warnings to see

resources/views/build/overview.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use(App\Services\ProjectService)
2+
13
@extends('cdash', [
24
'title' => 'Build Overview'
35
])

0 commit comments

Comments
 (0)