Fixed error type issue in crawler exception.