Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Followup to exception refactoring #3959

Merged
merged 2 commits into from
Apr 24, 2017

Conversation

dannon
Copy link
Member

@dannon dannon commented Apr 24, 2017

Fixes a few issues @nsoranzo noticed with my semiautomatic refactorings.

@dannon dannon added kind/refactoring cleanup or refactoring of existing code, no functional changes status/review labels Apr 24, 2017
@@ -607,7 +607,7 @@ def traverse( folder ):
log.exception( "Unable to create archive for download" )
raise exceptions.InternalServerError( "Unable to create archive for download." )
except Exception:
log.exception( "Unexpected error %s in create archive for download", sys.exc_info()[ 0 ] )
log.exception( "Unexpected error %s in create archive for download" )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to remove %s too.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, one more commit coming. sys is also unused now.

@@ -1863,7 +1863,7 @@ def __str__( self ):
status = 'error'
except:
error = True
log.exception( "Unexpected error %s in create archive for download", sys.exc_info()[0] )
log.exception( "Unexpected error %s in create archive for download" )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@dannon
Copy link
Member Author

dannon commented Apr 24, 2017

xref #3933

@galaxybot galaxybot added this to the 17.05 milestone Apr 24, 2017
@jmchilton jmchilton merged commit aa024f6 into galaxyproject:dev Apr 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/refactoring cleanup or refactoring of existing code, no functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants