Permalink
Browse files

Fix #623

  • Loading branch information...
1 parent ff2e844 commit 2b30900e2c007cf39b3d73a8ad53afe2f29a3a2c @untitaker committed Nov 8, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 flask/helpers.py
View
@@ -247,8 +247,9 @@ def external_url_handler(error, endpoint, **values):
appctx = _app_ctx_stack.top
reqctx = _request_ctx_stack.top
if appctx is None:
- raise RuntimeError('Attempted to generate a URL with the application '
- 'context being pushed. This has to be executed ')
+ raise RuntimeError('Attempted to generate a URL without the '
+ 'application context being pushed. This has to be '
+ 'executed when application context is available.')
# If request specific information is available we have some extra
# features that support "relative" urls.

0 comments on commit 2b30900

Please sign in to comment.