Skip to content

Crashes from missing pip modules only return a 404 #12

Open
@Denperidge

Description

@Denperidge

Steps to recreate:

  1. Try to import a module that is not installed in web.py (or a file that gets imported from web.py)
  2. Run the service (this should happen in both prod or dev)

Output:

identifier_1  | 15:05:51.998 [info]  GET /repo-harvester/
identifier_1  | keeping user_id
dispatcher_1  | 
dispatcher_1  | 15:05:51.999 [info]  GET /repo-harvester
harvester_1   | 172.24.0.5 - - [24/May/2023 15:05:52] "GET / HTTP/1.1" 404 -
dispatcher_1  | 
dispatcher_1  | 15:05:52.004 [info]  Sent 404 in 4ms
identifier_1  | 
identifier_1  | 15:05:52.005 [info]  Sent 404 in 6ms
identifier_1  | 

If possible, a clearer error as to where the lack of functional routes comes from would be optimal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions