fix(listener): update listener error line number to pick correct line