Skip to content

Commit

Permalink
Adding extra error message on update exception;
Browse files Browse the repository at this point in the history
  • Loading branch information
Gipetto committed Jul 29, 2011
1 parent 3f45cdd commit 3dd0010
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OpenVBX/controllers/settings/site.php
Expand Up @@ -216,6 +216,7 @@ private function update_site()

if($response && $response->ResponseXML->IsError)
{
$this->session->set_flashdata('error', $response->ResponseXML->ErrorMessage);
throw new SiteException($response->ResponseXML->ErrorMessage);
}
}
Expand Down

0 comments on commit 3dd0010

Please sign in to comment.