Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Jan 11, 2013
1 parent ff2e844 commit 2b30900
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flask/helpers.py
Expand Up @@ -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.
Expand Down

0 comments on commit 2b30900

Please sign in to comment.