Commit ae6fd0a1 by Sarath Subramanian Committed by Madhan Neethiraj

ATLAS-1660: Error code mismatch in while GETing a type that doesn't exist.

parent 1cc40fd9
......@@ -100,7 +100,7 @@ public class AtlasTypeRegistry {
ret = new AtlasMapType(keyTypeName, valueTypeName, this);
} else {
throw new AtlasBaseException(AtlasErrorCode.UNKNOWN_TYPENAME, typeName);
throw new AtlasBaseException(AtlasErrorCode.TYPE_NAME_NOT_FOUND, typeName);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment