How to get to URL of a HttpException in flask

Solution
from flask import Flask, request
....
....
....
    @app.errorhandler( werkzeug.exceptions.HTTPException)
    def handle_exception(e):
        exception_url = request.url
        print(exception_url)
        ......
        .......
        return response