X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/996389725d454494a8e0046f6b7b4f03d9407463..07096ee18c78a330205e0f0a656dee1378ceb8c2:/catalogue/management/commands/importlessons.py diff --git a/catalogue/management/commands/importlessons.py b/catalogue/management/commands/importlessons.py index 1d65d18..43823bb 100755 --- a/catalogue/management/commands/importlessons.py +++ b/catalogue/management/commands/importlessons.py @@ -88,7 +88,8 @@ class Command(BaseCommand): # We're in a loop, nothing's being imported - some lesson is really missing. raise e except BaseException, e: - print e + import trackback + trackback.print_exc() files_skipped += 1 # Print results