Skip to content

Commit

Permalink
Use error rather than debug when cleanup fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry Gordon committed Feb 28, 2022
1 parent 4f8db74 commit f738f6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"prepare": "husky install",
"dependabot": "ts-node src/cli.ts",
"fetch-images": "ts-node src/fetch-images.ts",
"cleanup-docker": "ts-node src/cleanup.ts",
"update-container-manifest": "ts-node src/update-containers.ts"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/cleanup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export async function run(): Promise<void> {
await docker.pruneNetworks({filters: untilFilter})
await docker.pruneContainers({filters: untilFilter})
} catch (error) {
core.debug(`Error cleaning up: ${error.message}`)
core.error(`Error cleaning up: ${error.message}`)
}
}

Expand Down

0 comments on commit f738f6b

Please sign in to comment.