diff --git a/erpnext/selling/doctype/customer/customer.py b/erpnext/selling/doctype/customer/customer.py index 42f9ea354b0..2c804e5f4f9 100644 --- a/erpnext/selling/doctype/customer/customer.py +++ b/erpnext/selling/doctype/customer/customer.py @@ -30,7 +30,7 @@ class DocType: supp = supp and supp[0][0] or '' if supp: msgprint("You already have a Supplier with same name") - raise Exception + raise Exception("You already have a Supplier with same name") else: self.doc.name = cust else: