Skip to content

Commit

Permalink
turn on error reporting while in development
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Oct 15, 2024
1 parent 095905f commit f3d633c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@

use LiturgicalCalendar\Api\Router;

// error_reporting(E_ALL);
// ini_set('display_errors', 1);
error_reporting(E_ALL);
ini_set('display_errors', 1);

ini_set('date.timezone', 'Europe/Vatican');
require_once 'vendor/autoload.php';

Expand Down
2 changes: 2 additions & 0 deletions src/Params/MissalsParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ public function setData(array $DATA = [])
}
}
}


/**
* Could consider using these functions to set error, rather than using the Missals class produceErrorMessage
* Then the Missals class would check, every time it sets params data:
Expand Down

0 comments on commit f3d633c

Please sign in to comment.