When transition fails in handleUrl or transitionTo - log the error

Unless transition was aborted. Without this change - some silent errors
can happen when exceptions are thrown in enter/exit of states and it's
very hard to know what happened, cause they're are swallowed.