debian-forge-composer/internal
Tom Gundersen 71b69e5ad2 store: don't log if no logger was passed
`log` is `nil`, unless we are in verbose mode. Skip logging if no logger
was passed.

Long-term I think we should reconsider how we do our logging, and always
log these type of unexpected errors, and hence always have the logger be
non-nil. For now, fix the immediate problem.

The fact that loading the store from disk fails on upgrade is
unexpected, and should be fixed separately.

Fixes #685.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2020-05-29 22:20:43 +02:00
..
blueprint blueprint: DeepCopy() cannot fail 2020-05-18 11:50:15 +02:00
client tests: lorax-composer returns 2 errors for these tests 2020-05-28 08:28:11 +02:00
common common/ImageType: move to the store package 2020-05-18 11:50:15 +02:00
crypt crypt_test: don't run on macOS 2020-04-09 13:21:30 +02:00
distro distro/rhel8: add preliminary support for ppc64le and s390x 2020-05-28 07:34:48 +02:00
jobqueue jobqueue: allow canceling jobs 2020-05-13 16:45:09 +02:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
mocks worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
osbuild osbuild: update files source for rhsm 2020-05-28 00:23:54 +02:00
rcm rpmmd/RepoConf: rename Id to Name 2020-05-28 00:23:54 +02:00
rpmmd rpmmd/FetchMedata: fix checksum map 2020-05-28 00:23:54 +02:00
store store: don't log if no logger was passed 2020-05-29 22:20:43 +02:00
target store: move queue out of the store 2020-05-08 14:53:00 +02:00
test test/helper: add comparison for ImageType objects 2020-05-18 11:50:15 +02:00
upload Remove AWS snapshot import timeout 2020-05-19 22:34:04 +02:00
weldr tests: Add unit tests for compose/metadata and compose/results 2020-05-28 00:39:10 +02:00
worker worker: add JobArtifact() and DeleteJobArtifacts() 2020-05-27 16:16:05 +02:00