Skip to content

Commit

Permalink
fix wrong error text
Browse files Browse the repository at this point in the history
  • Loading branch information
mux99 committed Mar 28, 2024
1 parent 99b42f9 commit d356895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask_app/app.py
Expand Up @@ -29,8 +29,8 @@ def mptcp_status_page():
else:
state_message = 'Not Established'
state_class = 'fail'
except:
state_message = 'Established'
except Exception as e:
state_message = '[error]'

This comment has been minimized.

Copy link
@matttbe

matttbe Mar 28, 2024

(don't forget to replace the pass above, @mux99 @CrapsDorian )

state_class = 'error'

return render_template('index.html', state_message=state_message, state_class=state_class)
Expand Down

0 comments on commit d356895

Please sign in to comment.