Skip to content

Commit

Permalink
Fix typo on a catch block
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Apr 2, 2018
1 parent 822a485 commit bef2a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SongCacheIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ SongCacheIndex::~SongCacheIndex()
try {
curTransaction->commit();
}
catch {
catch (exception e) {
//DB transaction commit failed, we're destructing so we dont care.
//There really shouldnt be a transaction left anyways
}
Expand Down

0 comments on commit bef2a68

Please sign in to comment.