Skip to content

Commit

Permalink
fix: Add stacktrace to error report
Browse files Browse the repository at this point in the history
  • Loading branch information
reasje committed Dec 17, 2024
1 parent 50ea962 commit 33758b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/core/src/background_process/notifications_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ class NotificationsService {
// terminate background fetch
BackgroundFetch.stop(taskId);
}
} catch (e) {
} catch (e, s) {
print("Background fetch ERROR : $e" );
print("Background fetch stacktrace : $s" );
BackgroundFetch.finish(taskId);
}
}
Expand Down

0 comments on commit 33758b2

Please sign in to comment.