Navigation Menu

Skip to content

Commit

Permalink
libcore|Bank: Use the class name when throwing exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 15, 2014
1 parent b8e3357 commit 0d23650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/libcore/src/data/bank.cpp
Expand Up @@ -888,7 +888,7 @@ Bank::IData &Bank::data(DotPath const &path) const
item.lock();
if(!item.data.get())
{
throw LoadError("Bank::data", "Failed to load \"" + path + "\"");
throw LoadError(QLatin1String(d->nameForLog) + "::data", "Failed to load \"" + path + "\"");
}
return *item.data;
}
Expand Down

0 comments on commit 0d23650

Please sign in to comment.