diff --git a/mwclient/page.py b/mwclient/page.py
index 9aa63a4c58bf7c728b44f2105ab8c2f9fca6e900..45c3b7e39b0791152dd68372b0189791a2fd6c14 100644
--- a/mwclient/page.py
+++ b/mwclient/page.py
@@ -130,7 +130,7 @@ class Page(object):
 					summary = summary, token = self.get_token('edit'), 
 					**data)
 			if result['edit'].get('result').lower() == 'failure':
-				raise errors.EditError(self, result['edit']['result'])
+				raise errors.EditError(self, result['edit'])
 		except errors.APIError, e:
 			if e.code == 'editconflict':
 				raise errors.EditError(self, text, summary, e.info)