Skip to content

Commit

Permalink
Do not use fatalError if DocumentDelegate not yet assigned in GraphSt…
Browse files Browse the repository at this point in the history
…epManager (#491)
  • Loading branch information
pianostringquartet authored Oct 28, 2024
1 parent c881445 commit 6d0a1dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Stitch/Graph/ViewModel/GraphState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,8 @@ extension GraphState {

var graphStepManager: GraphStepManager {
guard let document = self.documentDelegate else {
fatalErrorIfDebug()
// fatalErrorIfDebug()
log("graphStepManager: did not have a document delegate")
return .init()
}

Expand Down

0 comments on commit 6d0a1dd

Please sign in to comment.