Skip to content

Commit b1f3678

Browse files
committed
fix issue in format_default_error_page
Signed-off-by: hwassman <[email protected]>
1 parent b2c5d88 commit b1f3678

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/zimonGrafanaIntf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ def handle_error():
145145

146146

147147
def format_default_error_page(status=404, message="Bad Request",
148-
traceback=cherrypy.serving.request.show_tracebacks
148+
traceback=cherrypy.serving.request.show_tracebacks,
149+
version='1.0'
149150
):
150151
template = {}
151152
template['error'] = status

0 commit comments

Comments
 (0)