We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee61ccf commit 72f7355Copy full SHA for 72f7355
authenticating-users/main.py
@@ -12,6 +12,9 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
+import googleclouddebugger
16
+googleclouddebugger.enable()
17
+
18
from flask import Flask
19
app = Flask(__name__)
20
@@ -66,8 +69,8 @@ def validate_assertion(assertion):
66
69
audience=audience()
67
70
)
68
71
return info['email'], info['sub']
- except:
- return None, None
72
+ except Exception as e:
73
+ return e.message, None
74
75
76
@app.route('/', methods=['GET'])
authenticating-users/requirements.txt
@@ -2,3 +2,4 @@ Flask>=1.0.0
2
cryptography
3
python-jose[cryptography]
4
requests
5
+google-python-cloud-debugger
0 commit comments