mirror of
https://github.com/google/blockly.git
synced 2026-01-09 18:10:08 +01:00
Include full namespace in error message
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user