diff --git a/projects/common/models/elements/element.ts b/projects/common/models/elements/element.ts
index 10e3d7e677a671e22d9400e66fac1fff660d3ffe..5151b88df9be9d998d182d20da80def98249271d 100644
--- a/projects/common/models/elements/element.ts
+++ b/projects/common/models/elements/element.ts
@@ -120,13 +120,13 @@ export abstract class UIElement implements UIElementProperties {
   abstract getDuplicate(): UIElement;
 
   registerIDs(): void {
-    if (!this.idService) throw new Error('IDService not available');
+    if (!this.idService) throw new Error(`IDService not available: ${this.type} ${this.id}`);
     this.idService.register(this.id, this.type, true, false);
     this.idService.register(this.alias, this.type, false, true);
   }
 
   unregisterIDs(): void {
-    if (!this.idService) throw new Error('IDService not available');
+    if (!this.idService) throw new Error(`IDService not available: ${this.type} ${this.id}`);
     this.idService.unregister(this.id, this.type, true, false);
     this.idService.unregister(this.alias, this.type, false, true);
   }