fix: Returning Error instead of failing when publishing unknown type
fix: Returning Error instead of failing when publishing unknown type

stencila/hub,stencila/hub,stencila/hub,stencila/hub,stencila/hub