* When a store path has disappeared for some reason,
../nix/<storepath> should return a HTTP error. Otherwise, mirror-channel.pl will happily mirror the error page.
This commit is contained in:
@ -83,7 +83,7 @@ sub nix : Chained('get_builds') PathPart('channel') CaptureArgs(1) {
|
||||
getChannelData($c, scalar($c->stash->{allBuilds}));
|
||||
}
|
||||
else {
|
||||
error($c, "Unknown channel `$channelName'.");
|
||||
notFound($c, "Unknown channel `$channelName'.");
|
||||
}
|
||||
};
|
||||
error($c, $@) if $@;
|
||||
|
Reference in New Issue
Block a user