[PR #1853] [MERGED] Catch platform errors #4979

Closed
opened 2026-03-23 22:16:40 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/1853
Author: @Merrit
Created: 2/13/2023
Status: Merged
Merged: 2/14/2023
Merged by: @appflowy

Base: mainHead: catch_platform_errors


📝 Commits (2)

  • 09822d4 refactor(Log): allow passing error and stacktrace to logs
  • 5005050 feat: catch platform errors

📊 Changes

2 files changed (+19 additions, -10 deletions)

View changed files

📝 frontend/app_flowy/lib/main.dart (+9 -0)
📝 frontend/app_flowy/packages/appflowy_backend/lib/log.dart (+10 -10)

📄 Description

Adds handling for platform errors that are not caught by the
Flutter framework. Doing so will log the error properly and
prevent the app from crashing.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/1853 **Author:** [@Merrit](https://github.com/Merrit) **Created:** 2/13/2023 **Status:** ✅ Merged **Merged:** 2/14/2023 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `catch_platform_errors` --- ### 📝 Commits (2) - [`09822d4`](https://github.com/AppFlowy-IO/AppFlowy/commit/09822d40f78cf5a90937bbbe0b9389df9f2d7c21) refactor(Log): allow passing error and stacktrace to logs - [`5005050`](https://github.com/AppFlowy-IO/AppFlowy/commit/5005050683259ba81921cd284444cf3786e9a2a9) feat: catch platform errors ### 📊 Changes **2 files changed** (+19 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/lib/main.dart` (+9 -0) 📝 `frontend/app_flowy/packages/appflowy_backend/lib/log.dart` (+10 -10) </details> ### 📄 Description Adds handling for platform errors that are not caught by the Flutter framework. Doing so will log the error properly and prevent the app from crashing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:16:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#4979
No description provided.