From 1c31b5bc08a2f4bc55678c69eb67508122480906 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 8 May 2009 11:15:45 -0400 Subject: Add a reason to the NotFound exception so we can provide more robust errors --- ipalib/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/errors.py') diff --git a/ipalib/errors.py b/ipalib/errors.py index 2e9eebee..a29dbbee 100644 --- a/ipalib/errors.py +++ b/ipalib/errors.py @@ -739,7 +739,7 @@ class NotFound(ExecutionError): """ errno = 4001 - format = _('entry not found') + format = _('%(reason)r') class DuplicateEntry(ExecutionError): """ -- cgit