update for warehouse
This commit is contained in:
@@ -29,6 +29,9 @@ class mfExceptionhandler {
|
||||
public function __toString() {
|
||||
$str="[".$this->Time."] ";
|
||||
if(is_numeric($this->Code) && $this->Code > 0) {
|
||||
if($this->Code == 404 || $this->Code == 500) {
|
||||
http_response_code($this->Code);
|
||||
}
|
||||
$str.="(Error code ".$this->Code.") ";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user