From bac2d1e1c7fe1c0ae8cfeafc3d75435a9cbebaf1 Mon Sep 17 00:00:00 2001 From: Dan Cojocaru Date: Mon, 11 Jul 2022 22:41:08 +0300 Subject: [PATCH] Modified exception message --- lib/utils/simulation.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/simulation.dart b/lib/utils/simulation.dart index 73752f8..25b3260 100644 --- a/lib/utils/simulation.dart +++ b/lib/utils/simulation.dart @@ -177,7 +177,7 @@ class PartialVisualSimulation with ChangeNotifier { if (depId != null) { _instances[instanceId] = await onRequiredDependency(depId); } else { - throw Exception('Attempted to get instance of unknown component'); + throw Exception('Attempted to get instance of unknown component: $instanceId'); } } return _instances[instanceId]!;