commit/galaxy-central: natefoo: Fix exception handling in migration script 111.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/359f6fbcde82/ changeset: 359f6fbcde82 user: natefoo date: 2013-02-15 17:21:11 summary: Fix exception handling in migration script 111. affected #: 1 file diff -r 865c74ff03755f21eaaf4a557b1c2aeb1518e593 -r 359f6fbcde82bbf8aa1d4b932a54882f86121d71 lib/galaxy/model/migrate/versions/0111_add_job_destinations.py --- a/lib/galaxy/model/migrate/versions/0111_add_job_destinations.py +++ b/lib/galaxy/model/migrate/versions/0111_add_job_destinations.py @@ -26,14 +26,14 @@ try: c.create( Job_table ) assert c is Job_table.c.destination_id - except: + except Exception, e: log.error( "Adding column 'destination_id' to job table failed: %s" % str( e ) ) c = Column( "destination_params", JSONType, nullable=True ) try: c.create( Job_table ) assert c is Job_table.c.destination_params - except: + except Exception, e: log.error( "Adding column 'destination_params' to job table failed: %s" % str( e ) ) def downgrade(): Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket