Explorar el Código

improve error message for implementation set

Shelikhoo hace 4 años
padre
commit
6fe8010caa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      common/registry/implementation_set.go

+ 1 - 1
common/registry/implementation_set.go

@@ -37,7 +37,7 @@ func (i *implementationSet) findImplementationByAlias(alias string) (string, Cus
 	if found {
 		return impl.FullName, impl.Loader, nil
 	}
-	return "", nil, newError("cannot find implementation by alias")
+	return "", nil, newError("cannot find implementation by alias: ", alias)
 }
 
 func newImplementationSet() *implementationSet {