-routing: handle exception in onComplete directive