OpenLayers OpenLayers

Changeset 7124

Show
Ignore:
Timestamp:
05/09/08 10:29:32 (2 months ago)
Author:
fredj
Message:

dont swallow exception thrown in callback functions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/camptocamp/unhcr/lib/OpenLayers/Request.js

    r7048 r7124  
    9797        request.onreadystatechange = function() { 
    9898            if(request.readyState == OpenLayers.Request.XMLHttpRequest.DONE) { 
    99                 complete(request); 
     99                try { 
     100                    complete(request); 
     101                } catch(exception) { 
     102                    throw exception; 
     103                } 
    100104            } 
    101105        }