HUE-1773 [beeswax] JS error when there's an error without a particular line/character specified

Fixed bug