Error handling finalized
This commit is contained in:
parent
35bde83095
commit
eb314e090d
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,7 @@ class errorhandler extends ClipBucket {
|
||||||
private function add_warning($message=NULL,$id=NULL) {
|
private function add_warning($message=NULL,$id=NULL) {
|
||||||
$this->warning_list[] = $message;
|
$this->warning_list[] = $message;
|
||||||
$this->user_errors['medium_priority'][] = $message;
|
$this->user_errors['medium_priority'][] = $message;
|
||||||
|
$this->error_list['all_errors']['user_error']['medium_priority'][] = $message;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -193,6 +194,7 @@ class errorhandler extends ClipBucket {
|
||||||
$thrown_error['file_line'] = $calling_line;
|
$thrown_error['file_line'] = $calling_line;
|
||||||
|
|
||||||
$this->addAll($thrown_error, $state, 'developer_errors');
|
$this->addAll($thrown_error, $state, 'developer_errors');
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue