mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Getting 'AttributeError' in pgadmin4/web/pgadmin/browser/server_groups/servers/__init__.py. Fixes #1464
This commit is contained in:
parent
5a78dd7ad3
commit
1b05464a04
@ -8,7 +8,6 @@
|
||||
##########################################################################
|
||||
|
||||
import simplejson as json
|
||||
import traceback
|
||||
|
||||
import pgadmin.browser.server_groups as sg
|
||||
from flask import render_template, request, make_response, jsonify, \
|
||||
@ -355,14 +354,8 @@ class ServerNode(PGChildNodeView):
|
||||
success=0,
|
||||
errormsg=e.message)
|
||||
|
||||
try:
|
||||
info = traceback.format_exc()
|
||||
except Exception as e:
|
||||
current_app.logger.exception(e)
|
||||
info = str(e)
|
||||
|
||||
return make_json_response(success=1,
|
||||
info=info)
|
||||
info=gettext("Server deleted"))
|
||||
|
||||
def update(self, gid, sid):
|
||||
"""Update the server settings"""
|
||||
|
Loading…
Reference in New Issue
Block a user