Skip to content

Commit

Permalink
fix(docker): log extra when erroring getting labels
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Feb 14, 2020
1 parent 8ba2b52 commit 090a623
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/datasource/docker/index.ts
Expand Up @@ -561,7 +561,10 @@ async function getLabels(
);
logger.debug({ err });
} else {
logger.warn({ err }, 'Unknown error getting Docker labels');
logger.warn(
{ registry, repository, tag, err },
'Unknown error getting Docker labels'
);
}
return {};
}
Expand Down

0 comments on commit 090a623

Please sign in to comment.