Skip to content

Commit

Permalink
#tech replace fatal error with debugPrint
Browse files Browse the repository at this point in the history
  • Loading branch information
NullIsOne committed Jul 2, 2024
1 parent 6971e0d commit bacde2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SurfCore/Weak/WeakReference.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public struct WeakReference<Input: AnyObject> {
let input = WeakLocator.shared.provide(Input.self)?.unit
#if DEBUG
if input == nil {
fatalError("⚠️ Weak for \(Input.self) not found in WeakLocator")
debugPrint("⚠️ Weak for \(Input.self) not found in WeakLocator")
}
#endif
return input
Expand Down

0 comments on commit bacde2a

Please sign in to comment.