When calling WGA.redirectTo(...) in isolated environment like TML module controller you will get a NPE.
Also it's not possible to redirect in this situation because we don't have a request and response object, a NPE is not very helpful here.
We now log an error message instead.
Note:
If you need a redirect either declare the action method as nonIsolated() or redirect via action-s return object with $redirect property.