-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 'Internal server error' for 404 responses #4
Comments
sgjesse
added a commit
that referenced
this issue
Apr 20, 2015
This ensures that 'appHandler' always return Future<shelf.Response>. This is expected by the caller which has a .catchError on the return value. The following messages where logged to stderr by the application: bin/server.dart 96:64 main.<fn>.<async>.<fn>.<async>.<fn>.<async>.<fn>.<fn>.<fn>.<async> Error thrown by handler. dart:core Object.noSuchMethod Arguments: [Closure: (dynamic, dynamic) => dynamic] Receiver: Instance of 'Response' NoSuchMethodError: method not found: 'catchError' Class 'Response' has no instance method 'catchError'. ERROR - 2015-04-20 12:45:29.067 Prepare version for new release R=wibling@google.com BUG=#4 BUG=#5 Review URL: https://codereview.chromium.org/1094123002
Fixed in 1e3ed80 |
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The request for e.g. /xxx returns 'Internal server error instead of the 404 page.
The text was updated successfully, but these errors were encountered: