Fix LOCKFILE fallback
`throw` needs to provide an actual std::exception or it will not be
caught
(cherry picked from commit 844226e6b9
)
This commit is contained in:
parent
8648017b42
commit
2e54232181
|
@ -105,7 +105,7 @@ public:
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw;
|
throw std::runtime_error( "Failed to open lock file" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch( std::exception& e )
|
catch( std::exception& e )
|
||||||
|
|
Loading…
Reference in New Issue