console-error-throws-error