Commit 74786d4a authored by Nane Kratzke's avatar Nane Kratzke
Browse files

exception print for debugging

parent a0e690bb
...@@ -2,6 +2,7 @@ from flask import Flask, redirect ...@@ -2,6 +2,7 @@ from flask import Flask, redirect
from jaeger_client import Config from jaeger_client import Config
from flask_opentracing import FlaskTracing from flask_opentracing import FlaskTracing
import requests import requests
import traceback
import os import os
# A very boring and basic hip-hop-service to demonstrate # A very boring and basic hip-hop-service to demonstrate
...@@ -41,6 +42,8 @@ def hip(): ...@@ -41,6 +42,8 @@ def hip():
print(r) print(r)
r = r.content.decode('utf-8') r = r.content.decode('utf-8')
except Exception as ex: except Exception as ex:
print(ex)
traceback.print_exc()
r = " -> END" r = " -> END"
return f"hop-{ tier }{ r }" return f"hop-{ tier }{ r }"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment