From a5260326d36cf89017fca4b45752293e9c3bb441 Mon Sep 17 00:00:00 2001 From: Florent Date: Mon, 22 Sep 2014 17:11:30 +0200 Subject: [PATCH] Return the fullid of not found parcel --- modules/colissimo/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/colissimo/backend.py b/modules/colissimo/backend.py index 0cb23f89..0af59a6c 100644 --- a/modules/colissimo/backend.py +++ b/modules/colissimo/backend.py @@ -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, self.name)) p.info = label # TODO, need to know the delivery message if u"remis au gardien ou" in label or u"Votre colis est livré" in label: