Skip to content

Commit

Permalink
Message to dup key warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob37 committed Nov 15, 2024
1 parent d77e6e3 commit cf06f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gens/db/samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def store_sample(db, sample_id, case_id, genome_build, baf, coverage, overview):
}
)
except DuplicateKeyError:
LOG.warning(exc_info=True)
LOG.warning(f'DuplicateKeyError while storing sample "{sample_id}" in database, skipping.', exc_info=True)


def get_samples(db, start=0, n_samples=None):
Expand Down

0 comments on commit cf06f79

Please sign in to comment.