dont print out js when logging errors