Skip to content

Conversation

@icewind1991
Copy link
Member

Currently if a command fails to load the occ commands fails with a fatal error. This also prevents using occ app:disable to disable the offending command.

This instead catches the error, logs it and continues loading the commands from other apps.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Jan 15, 2024
@icewind1991 icewind1991 added this to the Nextcloud 29 milestone Jan 15, 2024
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, blizzz and nfebe and removed request for a team January 15, 2024 15:30
@icewind1991 icewind1991 force-pushed the app-command-load-non-fatal branch from ff5caf0 to 7648b7a Compare January 16, 2024 14:33
@icewind1991
Copy link
Member Author

/backport to stable28

@icewind1991
Copy link
Member Author

/backport to stable27

@blizzz blizzz force-pushed the app-command-load-non-fatal branch from 7648b7a to 860caa0 Compare February 2, 2024 12:47
@blizzz blizzz added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Feb 2, 2024
@icewind1991 icewind1991 merged commit 20aa86f into master Feb 2, 2024
@icewind1991 icewind1991 deleted the app-command-load-non-fatal branch February 2, 2024 15:00
@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants