Commit daf2dfa5 authored by Xavier Guimard's avatar Xavier Guimard

salsa: fix bad warning on unexistent project

Pushed using `salsa mr`
parent 4fec7ba2
......@@ -9,6 +9,7 @@ devscripts (2.18.12) UNRELEASED; urgency=medium
+ Fix typo in pod documentation.
+ Hide salsa token in bug report. Closes: #916073; MR: !91
+ Fix mr bug when colors are activated. MR: !92
+ Fix bad warning on unexistent project.
* French translation update.
[ Benjamin Drung ]
......
......@@ -31,8 +31,9 @@ sub _check_repo {
foreach my $repo (@repos) {
my ($id, $name) = @$repo;
my @err;
my $project = $self->api->project($id);
my $project = eval { $self->api->project($id) };
unless ($project) {
ds_debug $@;
ds_warn "Project $name not found";
next;
}
......
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