mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
Replaced all occurences of e.message with str(e)
Signed-off-by: Schnuffle <schnuffle@github.com>
This commit is contained in:
parent
2c695fd1aa
commit
dc5db01ff2
18 changed files with 19 additions and 19 deletions
|
@ -301,7 +301,7 @@ class SynapseHomeServer(HomeServer):
|
|||
try:
|
||||
database_engine.check_database(db_conn.cursor())
|
||||
except IncorrectDatabaseSetup as e:
|
||||
quit_with_error(e.message)
|
||||
quit_with_error(str(e))
|
||||
|
||||
|
||||
# Gauges to expose monthly active user control metrics
|
||||
|
@ -328,7 +328,7 @@ def setup(config_options):
|
|||
config_options,
|
||||
)
|
||||
except ConfigError as e:
|
||||
sys.stderr.write("\n" + e.message + "\n")
|
||||
sys.stderr.write("\n" + str(e) + "\n")
|
||||
sys.exit(1)
|
||||
|
||||
if not config:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue