I am trying to reject a value inside a nested promise but it doesn\'t seem to actually reject it correctly. In the code below, when I get an error from promiseVariable, it d