mirror of
https://github.com/monero-project/monero.git
synced 2025-07-27 00:05:37 -04:00
Print stack trace upon exceptions
Useful for debugging users' logs
This commit is contained in:
parent
d7fb03fc97
commit
fff238ec94
43 changed files with 259 additions and 63 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue