$this->config->set('config_error_display', 0);
$this->processAction(); // it throws ugly warning
I've tested in the controller of my module.
Just to turn off showing errors before your code.
It affects only current session (perhaps even current page).
It doesn't affect the DB!