diff --git a/weboob/applications/parceloob/parceloob.py b/weboob/applications/parceloob/parceloob.py index eb4229ae8f7770c5b8f17b3f34d2e761113199d0..7994f02adebeb044ec3c60970d08ac39c1884756 100644 --- a/weboob/applications/parceloob/parceloob.py +++ b/weboob/applications/parceloob/parceloob.py @@ -131,9 +131,13 @@ def do_untrack(self, line): pass if not removed: - parcel = self.get_object(line, 'get_parcel_tracking') + try: + parcel = self.get_object(line, 'get_parcel_tracking') + except ParcelNotFound: + parcel = False + if not parcel: - print >>self.stderr, 'Error: the parcel "%s" is not found' % line + print >>self.stderr, 'Error: the parcel "%s" is not found. Did you provide the full id@backend parameter?' % line return 2 try: