forked from lix-project/hydra
Fix encoding of Hydra logs
This commit is contained in:
parent
a80bfceaca
commit
f50066ab6f
|
@ -65,7 +65,7 @@ sub build_GET {
|
|||
$c->stash->{drvAvailable} = isValidPath $build->drvpath;
|
||||
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue