$table->save() stop execution of flow and does not produce errors also.

Hi Team,

In my Action when i am trying to save data into table then $table->save() stop execution of flow and does not produce errors also.

if ($table->save() == false) { echo $message = "Having error"; exit;

                }

When error occure, i am not able to see message but execution get stopped. Please provide your suggestion for this.

Thanks, Amol



60.9k

my guess would be that you wrapped the echo $application->handle() in try, catch and you have an sql error ?

try

(new \Phalcon\Debug)->listen();