added method name to default transport error handler
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 27 Jul 2008 15:08:58 +0000 (15:08 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 27 Jul 2008 15:08:58 +0000 (15:08 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10147 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js

index 131d601..fb48a37 100644 (file)
@@ -107,7 +107,7 @@ if(!dojo._hasResource["fieldmapper.Fieldmapper"]){
 
         if(!args.ontransporterror) {
             args.ontransporterror = function(xreq) {
-                throw new Error('Transport error status=' + xreq.status);
+                throw new Error('Transport error method='+args.method+', status=' + xreq.status);
             }
         }