From 8372ecb2125e75e35ec532fa40b46fa4f10fb34d Mon Sep 17 00:00:00 2001 From: Aaron Dodson Date: Thu, 29 Jul 2021 12:05:40 -0700 Subject: [PATCH] Include full namespace in error message --- core/registry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/registry.js b/core/registry.js index 1be9b2a2b..5752702ae 100644 --- a/core/registry.js +++ b/core/registry.js @@ -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();