Skip to content

Commit

Permalink
fail build if GPG key download fails
Browse files Browse the repository at this point in the history
  • Loading branch information
hop-dev committed Jun 23, 2022
1 parent 900833b commit 1e2f48d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dev/build/tasks/fleet_download_elastic_gpg_key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export const FleetDownloadElasticGpgKey: Task = {
maxAttempts: 3,
});
} catch (error) {
log.warning(`Failed to download Elastic GPG key`);
log.warning(error);
log.error(`Error downloading Elastic GPG key from ${gpgKeyUrl} to ${destination}`);
throw error;
}
},
};

0 comments on commit 1e2f48d

Please sign in to comment.