Fix encoding of Hydra logs
This commit is contained in:
		@@ -65,7 +65,7 @@ sub build_GET {
 | 
				
			|||||||
    $c->stash->{drvAvailable} = isValidPath $build->drvpath;
 | 
					    $c->stash->{drvAvailable} = isValidPath $build->drvpath;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!$build->finished && $build->busy) {
 | 
					    if (!$build->finished && $build->busy) {
 | 
				
			||||||
        $c->stash->{logtext} = read_file($build->logfile, err_mode => 'quiet') // "";
 | 
					        $c->stash->{logtext} = decode("utf-8", read_file($build->logfile, err_mode => 'quiet') // "");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if ($build->finished && $build->iscachedbuild) {
 | 
					    if ($build->finished && $build->iscachedbuild) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user