From a864f4e344d8f8566997d58f5d45b27659a118fd Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 26 Feb 2023 14:09:58 -0500 Subject: [PATCH] Tweak timeline marker error reporting --- Tusker/Screens/Timeline/TimelineViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tusker/Screens/Timeline/TimelineViewController.swift b/Tusker/Screens/Timeline/TimelineViewController.swift index db003822..13a37cdf 100644 --- a/Tusker/Screens/Timeline/TimelineViewController.swift +++ b/Tusker/Screens/Timeline/TimelineViewController.swift @@ -376,7 +376,7 @@ class TimelineViewController: UIViewController, TimelineLikeCollectionViewContro } catch { stateRestorationLogger.error("TimelineViewController: failed to update timeline marker: \(String(describing: 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) } } @@ -552,7 +552,7 @@ class TimelineViewController: UIViewController, TimelineLikeCollectionViewContro } catch { stateRestorationLogger.error("TimelineViewController: failed to load from timeline marker: \(String(describing: 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) return false }