Return the fullid of not found parcel
This commit is contained in:
parent
6f1b58d6a5
commit
a5260326d3
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class ColissimoBackend(BaseBackend, CapParcel):
|
||||||
p = Parcel(_id)
|
p = Parcel(_id)
|
||||||
label = data['message']
|
label = data['message']
|
||||||
if data['error']:
|
if data['error']:
|
||||||
raise ParcelNotFound(label)
|
raise ParcelNotFound(label + u" (id = %s@%s)" % (_id, self.name))
|
||||||
p.info = label
|
p.info = label
|
||||||
# TODO, need to know the delivery message
|
# TODO, need to know the delivery message
|
||||||
if u"remis au gardien ou" in label or u"Votre colis est livré" in label:
|
if u"remis au gardien ou" in label or u"Votre colis est livré" in label:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue