mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:00:38 +01:00
Fixed error handlig in test
This commit is contained in:
parent
88f3e7e266
commit
adee7ab4b6
@ -148,14 +148,12 @@ int main()
|
||||
att->detach(&status);
|
||||
att = NULL;
|
||||
}
|
||||
catch (const char* text)
|
||||
catch (const FbException& error)
|
||||
{
|
||||
rc = 1;
|
||||
|
||||
// handle error
|
||||
fflush(stdout);
|
||||
fprintf(stderr, " %s:\n", text);
|
||||
if (st)
|
||||
isc_print_status(st->getErrors());
|
||||
rc = 1;
|
||||
isc_print_status(error.getStatus()->getErrors());
|
||||
}
|
||||
|
||||
if (meta)
|
||||
|
Loading…
Reference in New Issue
Block a user