FT chnages

This commit is contained in:
Suresh, Kamlesh 2021-11-01 11:51:09 -04:00
parent dbeab9ef6b
commit 1d868ff9cb
6 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@ import Foundation
}
private func setState() {
public func setState() {
guard let castModel = model as? ImageButtonModel else {
return
}

View File

@ -89,7 +89,7 @@ open class Video: View {
})
case .failed:
if let errorObject = item.loadFailedError {
MVMCoreLoggingHandler.shared()?.addError(toLog: errorObject)
MVMCoreLoggingHandler.addError(toLog: errorObject)
}
default:
break

View File

@ -70,7 +70,7 @@ public extension ModelRegistry {
return type
} catch {
if let errorObject = MVMCoreErrorObject.createErrorObject(for: error, location: #function) {
MVMCoreLoggingHandler.shared()?.addError(toLog: errorObject)
MVMCoreLoggingHandler.addError(toLog: errorObject)
}
return nil
}

View File

@ -36,7 +36,7 @@ import UIKit
initialSetup()
}
public func initialSetup() {
open func initialSetup() {
if !initialSetupPerformed {
initialSetupPerformed = true
setupView()

View File

@ -117,7 +117,7 @@ import UIKit
})
} catch {
if let coreError = MVMCoreErrorObject.createErrorObject(for: error, location: "updateJSON for pageType: \(String(describing: pageType))") {
MVMCoreLoggingHandler.shared()?.addError(toLog: coreError)
MVMCoreLoggingHandler.addError(toLog: coreError)
}
}
}

View File

@ -28,7 +28,7 @@ public extension PageBehaviorHandlerProtocol {
behaviors.append(behavior)
} catch {
if let errorObject = MVMCoreErrorObject.createErrorObject(for: error, location: #function) {
MVMCoreLoggingHandler.shared()?.addError(toLog: errorObject)
MVMCoreLoggingHandler.addError(toLog: errorObject)
}
}
}