[brightcove] Improve error message detection (#4256)