I've got a custom module inside a D7 installation.

Within the submit function I am doing the next:

my_custom_block_get_form_submit($form, &$form_state) {

$d = db_insert('db_launch')
->fields(array(
'uniq' => $uniq
))
->execute();

After performing the code, I recieve no errors within the error log, and also the sites returns the conventional "This site has experienced a mistakeInch.

Does anybody have idea the way i can debug this? I attempted an attempt catch block but that did not return anything.

Thanks,