Skip to content

Commit

Permalink
Include cycle for circular deserialization error
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Oct 6, 2024
1 parent 83cbb1d commit dcf868d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drift_dev/lib/src/analysis/serializer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ class ElementDeserializer {

if (_currentlyReading.contains(id)) {
throw StateError(
'Circular error when deserializing drift modules. This is a '
'Circular error when deserializing drift modules (cycle: $_currentlyReading -> $id). This is a '
'bug in drift_dev!');
}

Expand Down

0 comments on commit dcf868d

Please sign in to comment.