diff --git a/README.md b/README.md index 869b56c..8d11e7a 100644 --- a/README.md +++ b/README.md @@ -164,4 +164,4 @@ The `route()` method takes a single string for the route ID ("main" in this case To access all routes, or to search for a route that has no ID, the `routes()` method returns an dictionary of routes keyed by their URL. That mirrors the structure of the `PLATFORM_ROUTES` environment variable. -If called in the build phase an exception is thrown. +If called in the build phase, in a non-Platform.sh environment or in a worker environment, a `RuntimeError` is raised.