Await and raise an error problem

It is because the promise rethrows the exception with an undefined exception object.
This is happening at browser level and sadly, other than catching it and passing it, there isn't much else we can do. We could block exceptions with an undefined exception object, but then you'd miss all these exception types which is also undesirable.