Skip to content

Commit

Permalink
Add better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
davmlaw committed Aug 19, 2024
1 parent 7ef4906 commit ba06c5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snpdb/tasks/liftover_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import celery
from django.contrib.auth.models import User

from library.log_utils import log_traceback
from snpdb.liftover import create_liftover_pipelines
from snpdb.models import GenomeBuild, ImportSource, Allele

Expand All @@ -24,4 +25,4 @@ def liftover_alleles(username, genome_build_name):
create_liftover_pipelines(user, alleles, ImportSource.WEB, inserted_genome_build, [genome_build])
logging.info("/ finished creating pipelines")
except Exception as e:
logging.error(e)
log_traceback()

0 comments on commit ba06c5b

Please sign in to comment.