 
 		if not result? or result.statusCode not in [200, 201, 202]
 			if error?
-				logger.outgoing.error error
+				logger.outgoing.error 'Error for trigger', trigger.name, 'to', url, error
 			if result?
-				logger.outgoing.error result
+				logger.outgoing.error 'Error for trigger', trigger.name, 'to', url, result
 
 			if result.statusCode is 410
 				RocketChat.models.Integrations.remove _id: trigger._id
 				return
 
 			if result.statusCode is 500
-				logger.outgoing.error 'Request Error [500]', url
+				logger.outgoing.error 'Error [500] for trigger', trigger.name, 'to', url
 				logger.outgoing.error result.content
 				return
 


			return compiledScripts[integration._id].script
	catch e
		logger.outgoing.error "[Error evaluating Script:]"
		logger.outgoing.error script.replace(/^/gm, '  ')
		logger.outgoing.error "[Stack:]"
		logger.outgoing.error e.stack.replace(/^/gm, '  ')
		throw new Meteor.Error 'error-evaluating-script'

	if not sandbox.Script?
		logger.outgoing.error "[Class 'Script' not found]"
		throw new Meteor.Error 'class-script-not-found'



					error: e

	try
		logger.outgoing.info 'Will evaluate script of Trigger', integration.name
		logger.outgoing.debug script

		vmScript = vm.createScript script, 'script.js'
