mirror of
https://github.com/monero-project/monero.git
synced 2025-12-22 07:10:46 -08:00
Print stack trace upon exceptions
Useful for debugging users' logs
This commit is contained in:
@@ -198,7 +198,7 @@ int main(int argc, char* argv[])
|
||||
else
|
||||
{
|
||||
LOG_ERROR("Attempted to use non-existent database type: " << db_type);
|
||||
throw std::runtime_error("Attempting to use non-existent database type");
|
||||
throw tools::runtime_error("Attempting to use non-existent database type");
|
||||
}
|
||||
LOG_PRINT_L0("database: " << db_type);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user