Browse Source

Clarify error message

Alois Mahdal 10 years ago
parent
commit
d5e0f587fd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      include/sardine.py

+ 1
- 1
include/sardine.py View File

37
         method_n = "render_" + self.data.fmt
37
         method_n = "render_" + self.data.fmt
38
 
38
 
39
         def ex(__):
39
         def ex(__):
40
-            raise SardinePluginError("method not defined: " + method_n)
40
+            raise SardinePluginError("plugin method not defined: " + method_n)
41
 
41
 
42
         render_fn = getattr(self, method_n, ex)
42
         render_fn = getattr(self, method_n, ex)
43
         return render_fn()
43
         return render_fn()