Commit a5260326 authored by Florent Fourcot's avatar Florent Fourcot

Return the fullid of not found parcel

parent 6f1b58d6
......@@ -44,7 +44,7 @@ class ColissimoBackend(BaseBackend, CapParcel):
p = Parcel(_id)
label = data['message']
if data['error']:
raise ParcelNotFound(label)
raise ParcelNotFound(label + u" (id = %s@%s)" % (_id, = label
# TODO, need to know the delivery message
if u"remis au gardien ou" in label or u"Votre colis est livré" in label:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment