Skip to content

🐛 [Bug]: request fail before the template is available #339

@iacore

Description

@iacore

Bug Description

Observable behavior (recalled from my memory):

/layout template not found

How to Reproduce

I don't know! I only saw it once.

the actual application in question is https://codeberg.org/vnpower/pixivfe
where i

  1. go run .
  2. visit http//localhost:8282/ in browser

I couldn't get it to reproduce again.

I suspect this is a race condition

Expected Behavior

The server should not respond to requests if the templates are not compiled yet.

Fiber Version

v2.52.0

Code Snippet (optional)

No response

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my problem prior to opening this one.
  • I understand that improperly formatted bug reports may be closed without explanation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ☢️ BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions