Skip to content

Commit

Permalink
add get method for traceback in migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
quaxsze committed Jul 15, 2020
1 parent 60d9fe3 commit 32b0903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion udata/commands/db.py
Expand Up @@ -127,4 +127,4 @@ def display_op(op):
timestamp = white(op['date'].strftime(DATE_FORMAT))
label = white(op['type'].title()) + ' '
echo('{label:.<70} [{date}]'.format(label=label, date=timestamp))
format_output(op['output'], success=op['success'], traceback=op['traceback'])
format_output(op['output'], success=op['success'], traceback=op.get('traceback'))

0 comments on commit 32b0903

Please sign in to comment.