Fix LOCKFILE fallback
`throw` needs to provide an actual std::exception or it will not be caught
This commit is contained in:
parent
aacf8f50bf
commit
844226e6b9
|
@ -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