mirror of
https://github.com/dancojocaru2000/logic-circuits-simulator.git
synced 2025-02-22 17:19:36 +02:00
Modified exception message
This commit is contained in:
parent
9e5cf4f92f
commit
bac2d1e1c7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue