Skip to content

Commit b124aa8

Browse files
authored
Update database.cpp
1 parent 4d316a8 commit b124aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/core/scripting/network/database.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ PluginDatabase::PluginDatabase(std::string m_connection_name)
2020
else {
2121
this->dbConnected = this->db->Connect();
2222
if (!this->dbConnected) {
23-
throw std::runtime_error(string_format("An error has occured while trying to connect to database \"%s\":\nError: %s\n", m_connection_name.c_str(), this->db->GetError().c_str()));
23+
PRINTF("An error has occured while trying to connect to database \"%s\":\nError: %s\n", m_connection_name.c_str(), this->db->GetError().c_str());
2424
}
2525
}
2626
}

0 commit comments

Comments
 (0)