             return
         }
         let message = "\(self.nameAndAddress): Event of type '\(eventType)' was not handled."
-        #if DEBUG
+        #if DEBUG && EVENTBUS_STRICT
             fatalError(message)
-        #else
+        #elseif DEBUG
             print(message)
         #endif
     }

        // Related bug: https://bugs.swift.org/browse/SR-4420:
        if !(type(of: subscriber as Any) is AnyClass) {
            let message = "Expected class, found struct/enum: \(subscriber)"
            #if DEBUG
                fatalError(message)
            #else
                print(message)
            #endif
        }

        }
        let names = Array(self.registered.values).joined(separator: ", ")
        let message = "\(self.nameAndAddress): Expected event of registered type (e.g. \(names)), found: \(eventType)"
        #if DEBUG && EVENTBUS_STRICT
            fatalError(message)
        #elseif DEBUG
            print(message)
        #endif
    }
