forked from shadowfacts/Tusker
Tweak timeline marker error reporting
This commit is contained in:
parent
007d5d6791
commit
a864f4e344
|
@ -376,7 +376,7 @@ class TimelineViewController: UIViewController, TimelineLikeCollectionViewContro
|
||||||
} catch {
|
} catch {
|
||||||
stateRestorationLogger.error("TimelineViewController: failed to update timeline marker: \(String(describing: error))")
|
stateRestorationLogger.error("TimelineViewController: failed to update timeline marker: \(String(describing: error))")
|
||||||
let event = Event(error: error)
|
let event = Event(error: error)
|
||||||
event.message = SentryMessage(formatted: "Failed to update timeline marker")
|
event.message = SentryMessage(formatted: "Failed to update timeline marker: \(String(describing: error))")
|
||||||
SentrySDK.capture(event: event)
|
SentrySDK.capture(event: event)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -552,7 +552,7 @@ class TimelineViewController: UIViewController, TimelineLikeCollectionViewContro
|
||||||
} catch {
|
} catch {
|
||||||
stateRestorationLogger.error("TimelineViewController: failed to load from timeline marker: \(String(describing: error))")
|
stateRestorationLogger.error("TimelineViewController: failed to load from timeline marker: \(String(describing: error))")
|
||||||
let event = Event(error: error)
|
let event = Event(error: error)
|
||||||
event.message = SentryMessage(formatted: "Failed to load from timeline marker")
|
event.message = SentryMessage(formatted: "Failed to load from timeline marker: \(String(describing: error))")
|
||||||
SentrySDK.capture(event: event)
|
SentrySDK.capture(event: event)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue