Don't swallow exception #12

Closed
benmccann opened this Issue Nov 2, 2012 · 0 comments

Comments

Projects
None yet
2 participants
@benmccann

If a file fails to upload the exception is currently swallowed making it impossible to tell why the upload failed.

Maybe change:
except Exception, e:
l.error("Failed to upload %s, requeueing", _file)

To something more like:
except Exception, e:
l.error("Failed to upload %s, requeueing: %s", _file, e)

CrackerJackMack pushed a commit that referenced this issue Nov 2, 2012

CrackerJackMack pushed a commit that referenced this issue Nov 2, 2012

Kevin Landreth
File permission cleanups and auth_url overload
Resolves #12
you can now put an arbitrary auth_url=https://.... in the [slbackup] section
Files are skipped and not deleted if they can no longer be read from
Local read permissions are handled properly on missing files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment