forked from phoenix-oss/llama-stack-mirror
chore: better raise (#1335)
Summary: addresses https://github.com/meta-llama/llama-stack/pull/1282#discussion_r1972546802 Test Plan:
This commit is contained in:
parent
7ad7e3b970
commit
2faee24873
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class SQLiteSpanProcessor(SpanProcessor):
|
||||||
self._local.conn = sqlite3.connect(self.conn_string)
|
self._local.conn = sqlite3.connect(self.conn_string)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error connecting to SQLite database: {e}")
|
print(f"Error connecting to SQLite database: {e}")
|
||||||
raise e
|
raise
|
||||||
return self._local.conn
|
return self._local.conn
|
||||||
|
|
||||||
def setup_database(self):
|
def setup_database(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue