Error Log for failed script

I am trying to run .sql insert data script. But the table does not exist in the database.
How this error can be handled/logged this in Liquibase.

Also, is there any place where we can see why particular script is failed along with reason.

Can anyone help on this. Any way to log reason for failure of SQL script in Liquibase.