IsaacKerson commited on
Commit
f3536c1
1 Parent(s): c6309b7

return exception

Browse files
Files changed (1) hide show
  1. pages/view.py +2 -2
pages/view.py CHANGED
@@ -32,5 +32,5 @@ def app():
32
  try:
33
  for idx, item in enumerate(c.execute(query)):
34
  st.write(f'{idx}: {item}')
35
- except:
36
- st.write("Query returned an error.")
 
32
  try:
33
  for idx, item in enumerate(c.execute(query)):
34
  st.write(f'{idx}: {item}')
35
+ except Exception as e:
36
+ st.write("Query returned an error:" + e)