 
 			return compiledScripts[integration._id].script
 	catch e
-		logger.outgoing.error "[Error evaluating Script:]"
+		logger.outgoing.error '[Error evaluating Script in Trigger', integration.name, ':]'
 		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]"
+		logger.outgoing.error '[Class "Script" not in Trigger', integration.name, ']'
 		throw new Meteor.Error 'class-script-not-found'
 
 

					error: e

	try
		logger.outgoing.info 'will evaluate script'
		logger.outgoing.debug script

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


		if not result? or result.statusCode not in [200, 201, 202]
			if error?
				logger.outgoing.error 'Error for trigger', trigger.name, 'to', url, error
			if 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 'Error [500] for trigger', trigger.name, 'to', url
				logger.outgoing.error result.content
				return

