PhileCMS / Phile

A flat file CMS with a swappable parser and template engine.
https://philecms.github.io/
Other
257 stars 49 forks source link

fix errors in errorHandler #191

Closed Schlaefer closed 9 years ago

Schlaefer commented 9 years ago
Schlaefer commented 9 years ago

Travis failed with an deployment error, but the code is fine.

To reproduce throw an exception e.g. in a Plugin.php

public function on($eventKey, $data = null) {
  throw new \Exception;
  // ...   
}

and you'll trigger that error in the development error handler:

Notice: Undefined index: class in …/plugins/phile/errorHandler/Classes/Development.php on line 93

If nobody objects I'll merge in the coming days.