(exception) throttle test

This commit is contained in:
Unitech 2017-02-23 22:21:44 +01:00
parent 1733f7b5a0
commit adcfa6c2c5

View File

@ -2,11 +2,9 @@
var pmx = require('pmx');
pmx.action('exception', function(reply) {
setTimeout(function() {
console.log('Im going to crash');
console.log('I will crash muhahah');
throw new Error('CRASHED');
}, 100);
console.log('Im going to crash');
console.log('I will crash muhahah');
throw new Error('CRASHED');
return reply({ sucess: true});
});