def get_response(self, environ=None): return service_unavailable( _("Connection to the SSH Tunnel for host '{0}' has been lost. " "Reconnect to the database server.").format(self.tunnel_host), info="SSH_TUNNEL_CONNECTION_LOST", data={ 'tunnel_host': self.tunnel_host } )
def get_response(self, environ=None): return service_unavailable( _("Connection to the server has been lost."), info="CONNECTION_LOST", data={ 'sid': self.sid, 'database': self.db, 'conn_id': self.conn_id })
def get_response(self, environ=None): return service_unavailable( _("Connection to the server has been lost."), info="CONNECTION_LOST", data={ 'sid': self.sid, 'database': self.db, 'conn_id': self.conn_id } )
def get_response(self, environ=None): return service_unavailable( _(self.CRYPT_KEY_MISSING), info="CRYPTKEY_MISSING", )
def get_response(self, environ=None): return service_unavailable( _("Crypt key is missing."), info="CRYPTKEY_MISSING", )