Commit 4029b12f by Owo Sugiana

Bug fixed PBB saat tidak ada h2h_db_url

1 parent ea3214c1
......@@ -129,6 +129,7 @@ class App(BaseApp):
self.h2h_session = self.prod_session
self.base_q_log = self.get_base_q_log()
except DatabaseError:
self.prod_session.rollback()
self.h2h_session = None
if 'json_db_url' in self.conf:
factory = self.get_factory('json_db_url')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!