Focus on remving deprecated flas.JSONEncoder and replacing it with json.JSONEncoder. * Exception handling when API is not accessible [fix #25] * flask.JSONEncoder deprecated [fix #24] * Show manual (if present) [fix #23] * Small touch-ups
18 lines
363 B
HTML
18 lines
363 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>BCNS</title>
|
|
</head>
|
|
<body>
|
|
{% extends "navigation.html" %}
|
|
{% block content %}
|
|
<h1>{{lang_error_body_header}}</h1>
|
|
{% if error_object %}
|
|
<p class="error">Something went wrong</p>
|
|
<p>{{error_object.error_type}}</p>
|
|
<p>{{error_object.error_message}}</p>
|
|
{% endif %}
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|