don't swallow runtime errors in request

This commit is contained in:
Leo Horie 2016-04-20 00:35:53 -04:00
parent 04847785a0
commit da586de7dc

View file

@ -2175,6 +2175,7 @@
} }
} catch (e) { } catch (e) {
deferred.reject(e) deferred.reject(e)
m.deferred.onerror(e)
} finally { } finally {
if (options.background !== true) m.endComputation() if (options.background !== true) m.endComputation()
} }