encoding error should be notified at least as log.error
Bug #1123048 reported by
Kun Huang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Kun Huang |
Bug Description
https:/
if isinstance(path, unicode):
try:
path = path.encode(
except UnicodeError:
pass # what should I do?
Before pass this error, we should log it, in error or warning level.
It'll be more dangerous when error happens and no direct origin information lives in log.
We should log here for potential debuging.
Changed in swift: | |
assignee: | nobody → Kun Huang (academicgareth) |
Changed in swift: | |
milestone: | none → 1.8.0-rc1 |
status: | Fix Committed → Fix Released |
Changed in swift: | |
milestone: | 1.8.0-rc1 → 1.8.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/21778
Review: https:/