Log bad resource type to debug