 	 * @return {Function} `(value) -> undefined` A resolve or reject function.
 	###
 	genSettler = (self, state) -> (value) ->
-		settlePromise self, state, value, state == $rejected
+		if isLongStackTrace
+			self[$settlerTrace] = genTraceInfo(true)
+
+		settlePromise self, state, value
 
 	###*
 	 * Link the promise1 to the promise2.

	###
	constructor: (executor) ->
		if isLongStackTrace
			@[$promiseStack] = genTraceInfo()

		return if executor == $noop


	$resolved = 1
	$pending = 2

	$promiseTrace = '_pStack'
	$settlerTrace = '_sStack'

	# These are some symbols. They won't be used to store data.
	$circularChain = 'promise_circular_chain'
