Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

(After App-Update) App crash when tab "warning" is selected #2231

Conversation

freshking
Copy link
Member

Description

Create log file first if necessary before initializing stream reader

Link to Jira

https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-5849

@freshking freshking added the bug Something isn't working label Mar 17, 2021
@freshking freshking added this to the v2.0.0 milestone Mar 17, 2021
@freshking freshking requested a review from a team March 17, 2021 11:04
@freshking freshking self-assigned this Mar 17, 2021
Comment on lines +180 to 181
try createLogFile(for: fileURL)
guard let reader = StreamReader(at: fileURL) else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Crap, I thought the Reader would 'handle'/throw this… 😤

@freshking freshking merged commit 104030b into release/2.0.x Mar 17, 2021
@freshking freshking deleted the fix/5849-(After_App-Update)_App_crash_when_tab_warning_is_selected branch March 17, 2021 11:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants