mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Controllers.dataset: add exception string to log msg in _delete
This commit is contained in:
@@ -826,7 +826,7 @@ class DatasetInterface( BaseUIController, UsesAnnotations, UsesHistoryMixin, Use
|
||||
trans.sa_session.flush()
|
||||
except Exception, e:
|
||||
msg = 'HDA deletion failed (encoded: %s, decoded: %s)' % ( dataset_id, id )
|
||||
log.exception( msg )
|
||||
log.exception( msg + ': ' + str( e ) )
|
||||
trans.log_event( msg )
|
||||
message = 'Dataset deletion failed'
|
||||
status = 'error'
|
||||
|
||||
Reference in New Issue
Block a user