Skip to content

Commit

Permalink
Детализация ошибок SQL
Browse files Browse the repository at this point in the history
  • Loading branch information
Tango600 committed Oct 24, 2022
1 parent bee1cc9 commit 960ae40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DCLPlatform/uUDL.pas
Original file line number Diff line number Diff line change
Expand Up @@ -7983,7 +7983,8 @@ procedure TDCLCommand.ExecSQLCommand(SQLCommand: String; InContext: Boolean);
ADOCommand.Open;
{$ENDIF}
Except
ShowErrorMessage( - 1110, 'SQL='+SQLCommand);
On ex: Exception do
ShowErrorMessage( - 1110, 'SQL='+SQLCommand+' / '+ex.Message);
end;
{$IFDEF TRANSACTIONDB}
tmp_Transaction.Commit;
Expand Down

0 comments on commit 960ae40

Please sign in to comment.