Browse Source

Modified exception message

master
Kenneth Bruen 2 years ago
parent
commit
bac2d1e1c7
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 2
      lib/utils/simulation.dart

2
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]!;

Loading…
Cancel
Save