protect from empty js_errors.trace