Skip to content

Navigation Menu

Sign in
Sign up

fix: Log exceptions during fetching templates - #5492

Open
juliusknorr wants to merge 2 commits into
main from
fix/template-loading
Open

fix: Log exceptions during fetching templates #5492
juliusknorr wants to merge 2 commits into
main from
fix/template-loading

Conversation

@juliusknorr

@juliusknorr juliusknorr commented Mar 18, 2026

Copy link
Copy Markdown
Member

Signed-off-by: Julius Knorr jus@bitgrid.net

  • Resolves: #
  • Target version: main

Summary

TODO

  • ...

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Documentation (manuals or wiki) has been updated or is not required

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: Julius Knorr <jus@bitgrid.net>

@joshtrichards joshtrichards left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The changes in SettingController make sense to me, but the TemplateManager ones seem like overkill (particularly if logged at WARN level).

Comment thread lib/TemplateManager.php
foreach ($files as $file) {
if ($file->getId() === $fileId) {
$this->logger->warning(
'DEBUG: found template in empty_templates dir: {fullPath} ({internalPath}) with permissions {permissions}, double-check is it readable: {isReadable}',

@joshtrichards joshtrichards May 6, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Did you mean for these to be included and/or logged at WARN level?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@joshtrichards joshtrichards joshtrichards left review comments
@elzody elzody Awaiting requested review from elzody elzody is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /