Include full namespace in error message

This commit is contained in:
Aaron Dodson
2021-07-29 12:05:40 -07:00
parent e0efd4cf29
commit 8372ecb212

View File

@@ -137,7 +137,7 @@ const register = function(type, name, registryItem, opt_allowOverrides) {
String(type).trim() == '') {
throw Error(
'Invalid type "' + type + '". The type must be a' +
' non-empty string or a Type.');
' non-empty string or a Blockly.registry.Type.');
}
type = String(type).toLowerCase();